1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-31 00:15:35 +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()
|| (!godmode && cls.getCreatureStats(mPtr).isParalyzed()))