Allow all creatures to float to the water surface

pull/593/head
Alexei Dobrohotov 4 years ago
parent 654238fd18
commit 4638fc36b4

@ -2448,7 +2448,7 @@ void CharacterController::update(float duration)
}
}
if (mFloatToSurface && cls.isActor() && cls.canSwim(mPtr))
if (mFloatToSurface && cls.isActor())
{
if (cls.getCreatureStats(mPtr).isDead()
|| (!godmode && cls.getCreatureStats(mPtr).isParalyzed()))

Loading…
Cancel
Save