mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-29 09:32:45 +00:00
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
This commit is contained in:
commit
34b6a9d402
@ -2475,7 +2475,7 @@ namespace MWMechanics
|
|||||||
movement = osg::Vec3f();
|
movement = osg::Vec3f();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mFloatToSurface)
|
if (mFloatToSurface && world->isSwimming(mPtr))
|
||||||
{
|
{
|
||||||
if (cls.getCreatureStats(mPtr).isDead()
|
if (cls.getCreatureStats(mPtr).isDead()
|
||||||
|| (!godmode
|
|| (!godmode
|
||||||
|
Loading…
x
Reference in New Issue
Block a user