summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Sheep.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-04-17 22:37:00 +0200
committerMattes D <github@xoft.cz>2014-04-17 22:37:00 +0200
commitb7e074b10b1d133b5ca33e00c84b75d4fb817354 (patch)
treeadc938af1f651968871f2e43f4801d6b69c7fc41 /src/Mobs/Sheep.cpp
parentAdded area flooring. (diff)
parentCompile fix? (diff)
downloadcuberite-b7e074b10b1d133b5ca33e00c84b75d4fb817354.tar
cuberite-b7e074b10b1d133b5ca33e00c84b75d4fb817354.tar.gz
cuberite-b7e074b10b1d133b5ca33e00c84b75d4fb817354.tar.bz2
cuberite-b7e074b10b1d133b5ca33e00c84b75d4fb817354.tar.lz
cuberite-b7e074b10b1d133b5ca33e00c84b75d4fb817354.tar.xz
cuberite-b7e074b10b1d133b5ca33e00c84b75d4fb817354.tar.zst
cuberite-b7e074b10b1d133b5ca33e00c84b75d4fb817354.zip
Diffstat (limited to '')
-rw-r--r--src/Mobs/Sheep.cpp2
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;
}
}