1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 18:35:20 +00:00

Only prevent initially dead actors from floating up (bug #4204)

This commit is contained in:
Alexei Kotov 2022-10-14 19:35:28 +03:00
parent a227bab1ae
commit ece7a98e03
2 changed files with 2 additions and 1 deletions

View File

@ -2,6 +2,7 @@
------
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 #5057: Weapon swing sound plays at same pitch whether it hits or misses
Bug #5129: Stuttering animation on Centurion Archer

View File

@ -954,7 +954,7 @@ namespace MWMechanics
else
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
}