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
pull/3236/head
psi29a 2 months ago
commit 34b6a9d402

@ -2475,7 +2475,7 @@ namespace MWMechanics
movement = osg::Vec3f();
}
if (mFloatToSurface)
if (mFloatToSurface && world->isSwimming(mPtr))
{
if (cls.getCreatureStats(mPtr).isDead()
|| (!godmode

Loading…
Cancel
Save