* Add PigModel and PigRenderer

This commit is contained in:
iProgramInCpp
2023-12-05 20:07:20 +02:00
parent 166bcf708e
commit ca295740dd
48 changed files with 156 additions and 15 deletions

View File

@@ -57,7 +57,7 @@ Mob::Mob(Level* pLevel) : Entity(pLevel)
field_B84 = 0;
m_pEntLookedAt = nullptr;
m_texture = "/mob/char.png";
m_texture = "/mob/pig.png";
m_class = "";
field_34 = 1;
@@ -744,6 +744,11 @@ int Mob::getMaxSpawnClusterSize()
return 4;
}
bool Mob::isBaby()
{
return false;
}
void Mob::actuallyHurt(int damage)
{
#ifdef TEST_SURVIVAL_MODE