mirror of
https://github.com/ZDoom/Raze.git
synced 2025-06-02 18:21:06 +00:00
- Reset the crouch toggle only when loading a new game, not every time we clear out the input.
* We need to preserve the crouch toggle when loading saves. * Deliberately not resetting during level transitions as each level in an episode is interconnecting.
This commit is contained in:
parent
ae192df7b7
commit
8d8c30d10e
3 changed files with 10 additions and 4 deletions
|
@ -156,6 +156,7 @@ void NewGame(MapRecord* map, int skill, bool ns = false)
|
|||
gi->NewGame(map, skill, ns);
|
||||
gameaction = ga_level;
|
||||
ResetStatusBar();
|
||||
gameInput.resetCrouchToggle();
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue