1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-07-15 06:21:46 +00:00

Merge branch 'master' of gitlab.com:OpenMW/openmw

This commit is contained in:
Bret Curtis 2021-01-12 19:58:56 +01:00
commit d944f703e8

View file

@ -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() if (cls.getCreatureStats(mPtr).isDead()
|| (!godmode && cls.getCreatureStats(mPtr).isParalyzed())) || (!godmode && cls.getCreatureStats(mPtr).isParalyzed()))