Skip to content

Commit 34b6a9d

Browse files
committed
Merge branch 'howdidabdufindthis' into 'master'
Don't assign vertical movement for inert characters out of water (#7968) Closes #7968 See merge request OpenMW/openmw!4432
2 parents 27f52d2 + 84aebcc commit 34b6a9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/openmw/mwmechanics/character.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -2475,7 +2475,7 @@ namespace MWMechanics
24752475
movement = osg::Vec3f();
24762476
}
24772477

2478-
if (mFloatToSurface)
2478+
if (mFloatToSurface && world->isSwimming(mPtr))
24792479
{
24802480
if (cls.getCreatureStats(mPtr).isDead()
24812481
|| (!godmode

0 commit comments

Comments
 (0)