From: curt Date: Mon, 4 Jun 2001 21:40:38 +0000 (+0000) Subject: Fixed a problem where all hardcoded keybindings were being double executed. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=cce5426ac8a0acd3cc54119e7ec9361311e054bf;p=flightgear.git Fixed a problem where all hardcoded keybindings were being double executed. --- 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;