summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Cow.cpp
diff options
context:
space:
mode:
authortonibm19 <tonibm19@gmail.com>2014-01-29 18:25:10 +0100
committertonibm19 <tonibm19@gmail.com>2014-01-29 18:25:10 +0100
commit73d9a285d511a3cd1016aafc8c492924e6a7b249 (patch)
tree03d2e9278396de47370fa075605abd1128bf5fea /src/Mobs/Cow.cpp
parentNow mobs follow you when holding their breed item (diff)
downloadcuberite-73d9a285d511a3cd1016aafc8c492924e6a7b249.tar
cuberite-73d9a285d511a3cd1016aafc8c492924e6a7b249.tar.gz
cuberite-73d9a285d511a3cd1016aafc8c492924e6a7b249.tar.bz2
cuberite-73d9a285d511a3cd1016aafc8c492924e6a7b249.tar.lz
cuberite-73d9a285d511a3cd1016aafc8c492924e6a7b249.tar.xz
cuberite-73d9a285d511a3cd1016aafc8c492924e6a7b249.tar.zst
cuberite-73d9a285d511a3cd1016aafc8c492924e6a7b249.zip
Diffstat (limited to 'src/Mobs/Cow.cpp')
-rw-r--r--src/Mobs/Cow.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Mobs/Cow.cpp b/src/Mobs/Cow.cpp
index 205ecc73f..4063f034d 100644
--- a/src/Mobs/Cow.cpp
+++ b/src/Mobs/Cow.cpp
@@ -42,7 +42,8 @@ void cCow::OnRightClicked(cPlayer & a_Player)
}
void cCow::Tick(float a_Dt, cChunk & a_Chunk)
-{
+{
+ super::Tick(a_Dt, a_Chunk);
cPlayer * a_Closest_Player = m_World->FindClosestPlayer(GetPosition(), (float)m_SightDistance);
if (a_Closest_Player != NULL)
{