diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-04-12 14:16:48 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-04-12 14:16:48 +0200 |
commit | c0c47d33c571bde4cfb45043b645b3d45c3223e6 (patch) | |
tree | 2ca9d48043a36f353aa892ac21409c60c28f4716 /src/Mobs/Sheep.cpp | |
parent | Simplified pickup speed randomisation (diff) | |
download | cuberite-c0c47d33c571bde4cfb45043b645b3d45c3223e6.tar cuberite-c0c47d33c571bde4cfb45043b645b3d45c3223e6.tar.gz cuberite-c0c47d33c571bde4cfb45043b645b3d45c3223e6.tar.bz2 cuberite-c0c47d33c571bde4cfb45043b645b3d45c3223e6.tar.lz cuberite-c0c47d33c571bde4cfb45043b645b3d45c3223e6.tar.xz cuberite-c0c47d33c571bde4cfb45043b645b3d45c3223e6.tar.zst cuberite-c0c47d33c571bde4cfb45043b645b3d45c3223e6.zip |
Diffstat (limited to 'src/Mobs/Sheep.cpp')
-rw-r--r-- | src/Mobs/Sheep.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Mobs/Sheep.cpp b/src/Mobs/Sheep.cpp index c64360153..d599a4cef 100644 --- a/src/Mobs/Sheep.cpp +++ b/src/Mobs/Sheep.cpp @@ -101,7 +101,7 @@ void cSheep::Tick(float a_Dt, cChunk & a_Chunk) { if (m_World->GetBlock(PosX, PosY, PosZ) == E_BLOCK_GRASS) { - m_World->BroadcastEntityStatus(*this, ENTITY_STATUS_SHEEP_EATING); + m_World->BroadcastEntityStatus(*this, esSheepEating); m_TimeToStopEating = 40; } } |