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:
commit
e65f254f7f
@ -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()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user