mirror of
https://git.code.sf.net/p/quake/quake2forge
synced 2024-12-12 13:42:21 +00:00
- added some whitespace for clarity
This commit is contained in:
parent
2e808bd20e
commit
db5b1a5164
1 changed files with 2 additions and 0 deletions
|
@ -174,6 +174,7 @@ void RW_IN_Commands (void)
|
|||
in_state->Key_Event_fp(K_MOUSE4, true);
|
||||
if (!(mouse_buttonstate * (1<<3)) && (mouse_oldbuttonstate & (1<<3)))
|
||||
in_state->Key_Event_fp(K_MOUSE4, false);
|
||||
|
||||
if ((mouse_buttonstate & (1<<4)) && !(mouse_oldbuttonstate & (1<<4)))
|
||||
in_state->Key_Event_fp(K_MOUSE5, true);
|
||||
if (!(mouse_buttonstate * (1<<4)) && (mouse_oldbuttonstate & (1<<4)))
|
||||
|
@ -877,6 +878,7 @@ void KBD_Update(void)
|
|||
mouse_buttonstate |= (1 << 2);
|
||||
if (SDL_BUTTON(6) & bstate)
|
||||
mouse_buttonstate |= (1 << 3);
|
||||
|
||||
if (SDL_BUTTON(7) & bstate)
|
||||
mouse_buttonstate |= (1 << 4);
|
||||
|
||||
|
|
Loading…
Reference in a new issue