1
0

formatter error

This commit is contained in:
p-mcgowan 2014-11-21 23:58:35 -08:00
parent 635e9321c6
commit 793b1012c4

View File

@ -37,12 +37,12 @@ bool cVillager::DoTakeDamage(TakeDamageInfo & a_TDI)
m_World->BroadcastEntityStatus(*this, esVillagerAngry); m_World->BroadcastEntityStatus(*this, esVillagerAngry);
} }
} }
if (a_TDI.DamageType == dtLightning) if (a_TDI.DamageType == dtLightning)
{ {
Destroy(); Destroy();
m_World->SpawnMob(GetPosX(), GetPosY(), GetPosZ(), mtWitch); m_World->SpawnMob(GetPosX(), GetPosY(), GetPosZ(), mtWitch);
return true; return true;
} }
return true; return true;
} }