mirror of
https://github.com/OpenMW/openmw.git
synced 2025-11-08 21:46:43 +00:00
Only prevent initially dead actors from floating up (bug #4204)
This commit is contained in:
parent
a227bab1ae
commit
ece7a98e03
2 changed files with 2 additions and 1 deletions
|
|
@ -2,6 +2,7 @@
|
||||||
------
|
------
|
||||||
|
|
||||||
Bug #4127: Weapon animation looks choppy
|
Bug #4127: Weapon animation looks choppy
|
||||||
|
Bug #4204: Dead slaughterfish doesn't float to water surface after loading saved game
|
||||||
Bug #4816: GetWeaponDrawn returns 1 before weapon is attached
|
Bug #4816: GetWeaponDrawn returns 1 before weapon is attached
|
||||||
Bug #5057: Weapon swing sound plays at same pitch whether it hits or misses
|
Bug #5057: Weapon swing sound plays at same pitch whether it hits or misses
|
||||||
Bug #5129: Stuttering animation on Centurion Archer
|
Bug #5129: Stuttering animation on Centurion Archer
|
||||||
|
|
|
||||||
|
|
@ -954,7 +954,7 @@ namespace MWMechanics
|
||||||
else
|
else
|
||||||
mDeathState = static_cast<CharacterState>(CharState_Death1 + deathanim);
|
mDeathState = static_cast<CharacterState>(CharState_Death1 + deathanim);
|
||||||
|
|
||||||
mFloatToSurface = false;
|
mFloatToSurface = cStats.getHealth().getBase() != 0;
|
||||||
}
|
}
|
||||||
// else: nothing to do, will detect death in the next frame and start playing death animation
|
// else: nothing to do, will detect death in the next frame and start playing death animation
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue