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

Fix being able to switch weapons while knocked out

This commit is contained in:
scrawl 2015-01-04 19:50:46 +01:00
parent de12c96a46
commit 5e7e40aac9

View File

@ -900,7 +900,8 @@ bool CharacterController::updateWeaponState()
}
bool forcestateupdate = false;
if(weaptype != mWeaponType && mHitState != CharState_KnockDown)
if(weaptype != mWeaponType && mHitState != CharState_KnockDown && mHitState != CharState_KnockOut
&& mHitState != CharState_Hit)
{
forcestateupdate = true;