summaryrefslogtreecommitdiffstats
path: root/source/Items/ItemSpawnEgg.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-08-16 10:48:19 +0200
committermadmaxoft <github@xoft.cz>2013-08-16 10:48:30 +0200
commit0cb00996de574095fac49e181a11e6a766248743 (patch)
treed55b61dd2ca191bc44e11abe22100dacf62e9248 /source/Items/ItemSpawnEgg.h
parentRemoved squirrel plugin remnants (diff)
downloadcuberite-0cb00996de574095fac49e181a11e6a766248743.tar
cuberite-0cb00996de574095fac49e181a11e6a766248743.tar.gz
cuberite-0cb00996de574095fac49e181a11e6a766248743.tar.bz2
cuberite-0cb00996de574095fac49e181a11e6a766248743.tar.lz
cuberite-0cb00996de574095fac49e181a11e6a766248743.tar.xz
cuberite-0cb00996de574095fac49e181a11e6a766248743.tar.zst
cuberite-0cb00996de574095fac49e181a11e6a766248743.zip
Diffstat (limited to '')
-rw-r--r--source/Items/ItemSpawnEgg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Items/ItemSpawnEgg.h b/source/Items/ItemSpawnEgg.h
index e563d7e15..5ba0c0ad5 100644
--- a/source/Items/ItemSpawnEgg.h
+++ b/source/Items/ItemSpawnEgg.h
@@ -33,7 +33,7 @@ public:
a_BlockY--;
}
- if (a_World->SpawnMob(a_BlockX + 0.5, a_BlockY, a_BlockZ + 0.5, a_Item.m_ItemDamage) >= 0)
+ if (a_World->SpawnMob(a_BlockX + 0.5, a_BlockY, a_BlockZ + 0.5, (cMonster::eType)(a_Item.m_ItemDamage)) >= 0)
{
if (a_Player->GetGameMode() != 1)
{