* Rename some fields in Level

This commit is contained in:
iProgramInCpp
2023-08-08 11:12:25 +03:00
parent 3447669f04
commit cc2dc9b648
20 changed files with 59 additions and 60 deletions

View File

@@ -308,10 +308,10 @@ bool Mob::isAlive()
bool Mob::hurt(Entity *pAttacker, int damage)
{
if (m_pLevel->field_11)
if (m_pLevel->m_bIsMultiplayer)
return false;
field_AFC = m_pLevel->field_11;
field_AFC = m_pLevel->m_bIsMultiplayer;
if (m_health <= 0)
return false;
@@ -540,7 +540,7 @@ void Mob::die(Entity* pCulprit)
field_B69 = true;
if (!m_pLevel->field_11)
if (!m_pLevel->m_bIsMultiplayer)
dropDeathLoot();
}