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

pull/593/head
Bret Curtis 4 years ago
commit d944f703e8

@ -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()))

Loading…
Cancel
Save