From 94aca555e9f8443c2273acef1dec03953f6726d1 Mon Sep 17 00:00:00 2001 From: mfranz Date: Wed, 15 Feb 2006 08:34:42 +0000 Subject: [PATCH] whoops :-} --- src/Input/input.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Input/input.cxx b/src/Input/input.cxx index c6540efd1..59f27bd89 100644 --- a/src/Input/input.cxx +++ b/src/Input/input.cxx @@ -319,8 +319,8 @@ FGInput::doMouseClick (int b, int updown, int x, int y) // and be happy. FGScenery* scenery = globals->get_scenery(); sgdVec3 start, dir, hit; - if (MOUSE_BUTTON_DOWN && FGRenderer::getPickInfo(start, dir, x, y) && - scenery->get_cart_ground_intersection(start, dir, hit)) { + if (updown == MOUSE_BUTTON_DOWN && FGRenderer::getPickInfo(start, dir, x, y) + && scenery->get_cart_ground_intersection(start, dir, hit)) { Point3D geod = sgCartToGeod(Point3D(hit[0], hit[1], hit[2])); -- 2.39.5