diff options
Diffstat (limited to 'source/Items/ItemSpawnEgg.h')
-rw-r--r-- | source/Items/ItemSpawnEgg.h | 2 |
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) { |