1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-22 22:40:12 +00:00

Make sure we reset current weapon animation when resurrect actor (addition to bug #2626)

This commit is contained in:
Andrei Kortunov 2018-10-29 22:47:04 +04:00
parent 9dd0d641bc
commit f98fc8d7b4

View file

@ -2523,6 +2523,7 @@ void CharacterController::resurrect()
mAnimation->disable(mCurrentDeath); mAnimation->disable(mCurrentDeath);
mCurrentDeath.clear(); mCurrentDeath.clear();
mDeathState = CharState_None; mDeathState = CharState_None;
mWeaponType = WeapType_None;
} }
void CharacterController::updateContinuousVfx() void CharacterController::updateContinuousVfx()