From 4638fc36b46c8a0961f84ae5c3a026c59e72a7e5 Mon Sep 17 00:00:00 2001 From: Alexei Dobrohotov Date: Tue, 12 Jan 2021 15:46:19 +0300 Subject: [PATCH] Allow all creatures to float to the water surface --- apps/openmw/mwmechanics/character.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/openmw/mwmechanics/character.cpp b/apps/openmw/mwmechanics/character.cpp index abff30bb9..172ddb25c 100644 --- a/apps/openmw/mwmechanics/character.cpp +++ b/apps/openmw/mwmechanics/character.cpp @@ -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()))