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

Merge pull request #1999 from akortunov/resurrect

[Regression] Make sure we reset current weapon animation when resurrect actor
This commit is contained in:
Bret Curtis 2018-10-29 20:43:54 +01:00 committed by GitHub
commit e65f254f7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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()