summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Wolf.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/Wolf.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 '')
-rw-r--r--src/Mobs/Wolf.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Mobs/Wolf.cpp b/src/Mobs/Wolf.cpp
index 0d3619166..f02b8a4fc 100644
--- a/src/Mobs/Wolf.cpp
+++ b/src/Mobs/Wolf.cpp
@@ -75,12 +75,12 @@ void cWolf::OnRightClicked(cPlayer & a_Player)
SetMaxHealth(20);
SetIsTame(true);
SetOwner(a_Player.GetName());
- m_World->BroadcastEntityStatus(*this, ENTITY_STATUS_WOLF_TAMED);
+ m_World->BroadcastEntityStatus(*this, esWolfTamed);
m_World->BroadcastParticleEffect("heart", (float) GetPosX(), (float) GetPosY(), (float) GetPosZ(), 0, 0, 0, 0, 5);
}
else
{
- m_World->BroadcastEntityStatus(*this, ENTITY_STATUS_WOLF_TAMING);
+ m_World->BroadcastEntityStatus(*this, esWolfTaming);
m_World->BroadcastParticleEffect("smoke", (float) GetPosX(), (float) GetPosY(), (float) GetPosZ(), 0, 0, 0, 0, 5);
}
}