Gives all entities the default airlevel on creation (#3942)
* Guardians don't take damage on land * Squids suffocate on land
This commit is contained in:
committed by
Alexander Harkness
parent
4b84288801
commit
3c8712d871
@@ -56,8 +56,8 @@ cEntity::cEntity(eEntityType a_EntityType, double a_X, double a_Y, double a_Z, d
|
||||
m_TicksSinceLastVoidDamage(0),
|
||||
m_IsSwimming(false),
|
||||
m_IsSubmerged(false),
|
||||
m_AirLevel(0),
|
||||
m_AirTickTimer(0),
|
||||
m_AirLevel(MAX_AIR_LEVEL),
|
||||
m_AirTickTimer(DROWNING_TICKS),
|
||||
m_TicksAlive(0),
|
||||
m_IsTicking(false),
|
||||
m_ParentChunk(nullptr),
|
||||
|
||||
Reference in New Issue
Block a user