mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-22 04:01:06 +00:00
- Duke: Repair issues with going underwater after taking some stuff out of the global state.
* Really, need to do something about this `crouch_toggle` malarkey...
This commit is contained in:
parent
b07732bae4
commit
292030b59e
1 changed files with 1 additions and 1 deletions
|
@ -533,7 +533,7 @@ static void processInputBits(player_struct *p, HIDInput* const hidInput)
|
|||
ApplyGlobalInput(loc, hidInput);
|
||||
if (isRR() && (loc.actions & SB_CROUCH)) loc.actions &= ~SB_JUMP;
|
||||
|
||||
if (!crouchable || disableToggle)
|
||||
if (crouch_toggle && (!crouchable || disableToggle))
|
||||
{
|
||||
crouch_toggle = false;
|
||||
loc.actions &= ~SB_CROUCH;
|
||||
|
|
Loading…
Reference in a new issue