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

odyx pushed a commit to branch upstream/latest
in repository colobot.

commit 802aaad1a4482bfbc1a00d8556b34febb2bffed3
Author: tomangelo2 <tomang...@wp.pl>
Date:   Tue Apr 14 22:16:47 2015 +0200

    Should fix issue #456
---
 src/app/input.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/app/input.cpp b/src/app/input.cpp
index 999a574..f1e93da 100644
--- a/src/app/input.cpp
+++ b/src/app/input.cpp
@@ -87,7 +87,7 @@ void CInput::EventProcess(Event& event)
     
     /* Motion vector management */
     
-    if (event.type == EVENT_KEY_DOWN)
+    if (event.type == EVENT_KEY_DOWN && !(event.kmodState & KEY_MOD(ALT) ) )
     {
         if (event.key.slot == INPUT_SLOT_UP   ) m_keyMotion.y =  1.0f;
         if (event.key.slot == INPUT_SLOT_DOWN ) m_keyMotion.y = -1.0f;

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-games/colobot.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