summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Villager.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-04-12 14:16:48 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-04-12 14:16:48 +0200
commitc0c47d33c571bde4cfb45043b645b3d45c3223e6 (patch)
tree2ca9d48043a36f353aa892ac21409c60c28f4716 /src/Mobs/Villager.cpp
parentSimplified pickup speed randomisation (diff)
downloadcuberite-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/Villager.cpp')
-rw-r--r--src/Mobs/Villager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Mobs/Villager.cpp b/src/Mobs/Villager.cpp
index bbd8d6aaa..d049acc1e 100644
--- a/src/Mobs/Villager.cpp
+++ b/src/Mobs/Villager.cpp
@@ -30,7 +30,7 @@ void cVillager::DoTakeDamage(TakeDamageInfo & a_TDI)
{
if (m_World->GetTickRandomNumber(5) == 3)
{
- m_World->BroadcastEntityStatus(*this, ENTITY_STATUS_VILLAGER_ANGRY);
+ m_World->BroadcastEntityStatus(*this, esVillagerAngry);
}
}
}