mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-04 12:39:55 +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;
|
bool forcestateupdate = false;
|
||||||
if(weaptype != mWeaponType && mHitState != CharState_KnockDown)
|
if(weaptype != mWeaponType && mHitState != CharState_KnockDown && mHitState != CharState_KnockOut
|
||||||
|
&& mHitState != CharState_Hit)
|
||||||
{
|
{
|
||||||
forcestateupdate = true;
|
forcestateupdate = true;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user