Spawn baby mobs

This commit is contained in:
hallucino
2015-07-16 22:49:55 +02:00
parent eadd761a29
commit 9c85ed5864
14 changed files with 28 additions and 18 deletions
+1 -1
View File
@@ -108,7 +108,7 @@ bool cPig::DoTakeDamage(TakeDamageInfo & a_TDI)
if (a_TDI.DamageType == dtLightning)
{
Destroy();
m_World->SpawnMob(GetPosX(), GetPosY(), GetPosZ(), mtZombiePigman);
m_World->SpawnMob(GetPosX(), GetPosY(), GetPosZ(), mtZombiePigman, false);
return true;
}
return true;