Horizontal scroll should not cause K_MWHEELDOWN key press

This commit is contained in:
Zack Middleton 2015-05-29 16:38:43 -05:00
parent 2292bf5bb2
commit 5082548bf5

View file

@ -833,7 +833,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 );