diff options
author | Zack Middleton <zturtleman@gmail.com> | 2015-05-29 16:38:43 -0500 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2015-06-07 12:03:38 +0100 |
commit | faacb4870df52a38feb8d33658954c5353c8bf14 (patch) | |
tree | 9906306be0265bcaf8ed38d2ca881c5df4f37aab /src/sdl | |
parent | f36657ef4cd950a3e1d7f3dbf56a610f3ddd02c3 (diff) |
Horizontal scroll should not cause K_MWHEELDOWN key press
Diffstat (limited to 'src/sdl')
-rw-r--r-- | src/sdl/sdl_input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sdl/sdl_input.c b/src/sdl/sdl_input.c index 9569f3b8..2b466744 100644 --- a/src/sdl/sdl_input.c +++ b/src/sdl/sdl_input.c @@ -882,7 +882,7 @@ static void IN_ProcessEvents( void ) Com_QueueEvent( 0, SE_KEY, K_MWHEELUP, qtrue, 0, NULL ); Com_QueueEvent( 0, SE_KEY, K_MWHEELUP, qfalse, 0, NULL ); } - else + else if( e.wheel.y < 0 ) { Com_QueueEvent( 0, SE_KEY, K_MWHEELDOWN, qtrue, 0, NULL ); Com_QueueEvent( 0, SE_KEY, K_MWHEELDOWN, qfalse, 0, NULL ); |