netpanzer-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netPanzer-CVS] netpanzer/src/NetPanzer/Classes WorldInputCmdPr...


From: Ivo Danihelka
Subject: [netPanzer-CVS] netpanzer/src/NetPanzer/Classes WorldInputCmdPr...
Date: Tue, 16 Sep 2003 10:13:59 -0400

CVSROOT:        /cvsroot/netpanzer
Module name:    netpanzer
Branch:         
Changes by:     Ivo Danihelka <address@hidden>  03/09/16 10:13:59

Modified files:
        src/NetPanzer/Classes: WorldInputCmdProcessor.cpp 

Log message:
        Alt+Enter don't start chat

Patches:
Index: netpanzer/src/NetPanzer/Classes/WorldInputCmdProcessor.cpp
diff -u netpanzer/src/NetPanzer/Classes/WorldInputCmdProcessor.cpp:1.14 
netpanzer/src/NetPanzer/Classes/WorldInputCmdProcessor.cpp:1.15
--- netpanzer/src/NetPanzer/Classes/WorldInputCmdProcessor.cpp:1.14     Mon Sep 
15 05:54:15 2003
+++ netpanzer/src/NetPanzer/Classes/WorldInputCmdProcessor.cpp  Tue Sep 16 
10:13:58 2003
@@ -270,7 +270,9 @@
   if ( (KeyboardInterface::getKeyPressed( SDLK_f ) == true) )
    { toggleUnitFlagVisibility();  }
 
-  if ( (KeyboardInterface::getKeyPressed( SDLK_RETURN ) == true) )
+  if ( (KeyboardInterface::getKeyPressed( SDLK_RETURN ) == true)
+                 && (KeyboardInterface::getKeyState( SDLK_LALT ) == false)
+                 && (KeyboardInterface::getKeyState( SDLK_RALT ) == false))
    { setKeyboardInputModeChatMesg(); }
 
   if ( ( KeyboardInterface::getKeyState( SDLK_LCTRL ) ||




reply via email to

[Prev in Thread] Current Thread [Next in Thread]