]> git.mxchange.org Git - flightgear.git/commitdiff
Fixed a problem where all hardcoded keybindings were being double executed.
authorcurt <curt>
Mon, 4 Jun 2001 21:40:38 +0000 (21:40 +0000)
committercurt <curt>
Mon, 4 Jun 2001 21:40:38 +0000 (21:40 +0000)
src/Input/input.cxx

index 2fe3a3a1353d52aa70beb77922e34689e71bfb96..039a52e534f4aef0028f4077af918d82eea3bcc0 100644 (file)
@@ -236,6 +236,9 @@ FGInput::doKey (int k, int modifiers, int x, int y)
 
                                // Use the old, default actions.
   SG_LOG(SG_INPUT, SG_INFO, "(No user binding.)");
+  if (modifiers&FG_MOD_UP)
+    return;
+
   float fov, tmp;
   static bool winding_ccw = true;
   int speed;