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:
parent
de12c96a46
commit
5e7e40aac9
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user