From cce5426ac8a0acd3cc54119e7ec9361311e054bf Mon Sep 17 00:00:00 2001 From: curt Date: Mon, 4 Jun 2001 21:40:38 +0000 Subject: [PATCH] Fixed a problem where all hardcoded keybindings were being double executed. --- src/Input/input.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Input/input.cxx b/src/Input/input.cxx index 2fe3a3a13..039a52e53 100644 --- a/src/Input/input.cxx +++ b/src/Input/input.cxx @@ -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; -- 2.39.5