This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to annotated tag 1.42d
in repository iortcw.

commit 487f713e78203a2ca4278e6a492d285a63d5177e
Author: MAN-AT-ARMS <m4n4t4...@gmail.com>
Date:   Sat May 30 05:11:44 2015 -0400

    All: Horizontal scroll should not cause K_MWHEELDOWN key press
---
 MP/code/sdl/sdl_input.c | 2 +-
 SP/code/sdl/sdl_input.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/MP/code/sdl/sdl_input.c b/MP/code/sdl/sdl_input.c
index 7b48ba2..d6c4df0 100644
--- a/MP/code/sdl/sdl_input.c
+++ b/MP/code/sdl/sdl_input.c
@@ -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 );
diff --git a/SP/code/sdl/sdl_input.c b/SP/code/sdl/sdl_input.c
index 7b48ba2..d6c4df0 100644
--- a/SP/code/sdl/sdl_input.c
+++ b/SP/code/sdl/sdl_input.c
@@ -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 );

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-games/iortcw.git

_______________________________________________
Pkg-games-commits mailing list
Pkg-games-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to