mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 21:23:52 +00:00
Allow all creatures to float to the water surface
This commit is contained in:
parent
654238fd18
commit
4638fc36b4
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()
|
if (cls.getCreatureStats(mPtr).isDead()
|
||||||
|| (!godmode && cls.getCreatureStats(mPtr).isParalyzed()))
|
|| (!godmode && cls.getCreatureStats(mPtr).isParalyzed()))
|
||||||
|
|
Loading…
Reference in a new issue