mirror of
https://github.com/ZDoom/Raze.git
synced 2025-06-01 17:52:13 +00:00
- negated the meaning of SB_AIMMODE.
This is because 'classic' aim mode will reset the view if the mouseaim key is not pressed. The problem with this is that an empty input packet will trigger a view reset. If the meaning is inverted the default aim mode is free mouse view which doesn't try to alter any view state and is therefore preferable for an empty packet. Fixes #292
This commit is contained in:
parent
ac5abd8aac
commit
3204a3e5fc
5 changed files with 6 additions and 6 deletions
|
@ -383,7 +383,7 @@ void ApplyGlobalInput(InputPacket& input, ControlInfo *info)
|
|||
if (G_CheckAutorun(buttonMap.ButtonDown(gamefunc_Run)))
|
||||
input.actions |= SB_RUN;
|
||||
|
||||
if (in_mousemode || buttonMap.ButtonDown(gamefunc_Mouse_Aiming))
|
||||
if (!in_mousemode && !buttonMap.ButtonDown(gamefunc_Mouse_Aiming))
|
||||
input.actions |= SB_AIMMODE;
|
||||
|
||||
if (buttonMap.ButtonDown(gamefunc_Look_Up))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue