diff Game.cpp @ 2201:34035536bbf5

Finishing keyboard.cpp stuff
author Grumpy7
date Mon, 03 Feb 2014 23:06:14 +0100
parents 7a517c9a1d5b
children 44d956d4f838
line wrap: on
line diff
--- a/Game.cpp	Mon Feb 03 00:58:12 2014 +0100
+++ b/Game.cpp	Mon Feb 03 23:06:14 2014 +0100
@@ -2308,9 +2308,9 @@
                               }
                             }
                             if ( uAction && uAction != 2 && uAction != 3 && uAction != 1 && uAction != 25 && uAction != 26 )
-                              pKeyToggleType = (KeyToggleType)1;
+                              pKeyToggleType = TOGGLE_OneTimePress;
                             else
-                              pKeyToggleType = (KeyToggleType)0;
+                              pKeyToggleType = TOGGLE_Continuously;
                             pKeyActionMap->SetKeyMapping(uAction, pPrevVirtualCidesMapping[uAction], pKeyToggleType);
                             ++uAction;
                           }