mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-31 16:15:35 +00:00
Merge branch 'float' into 'master'
Allow all creatures to float to the water surface (#5790, #5758) Closes #5758 and #5790 See merge request OpenMW/openmw!534
This commit is contained in:
commit
abdc4cde95
1 changed files with 1 additions and 1 deletions
|
@ -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()))
|
||||
|
|
Loading…
Reference in a new issue