From ee30992e550776a6560e692de5d6cdd56d961205 Mon Sep 17 00:00:00 2001 From: frohlich Date: Sun, 7 Jan 2007 08:33:02 +0000 Subject: [PATCH] Modified Files: src/Input/input.cxx: Do not change mouse modes if we had a valid scenery pick. --- src/Input/input.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Input/input.cxx b/src/Input/input.cxx index 93dfbb902..9c8f61351 100644 --- a/src/Input/input.cxx +++ b/src/Input/input.cxx @@ -299,7 +299,7 @@ FGInput::doMouseClick (int b, int updown, int x, int y) for (i = pickList.begin(); i != pickList.end(); ++i) { if (i->callback->buttonPressed(b, i->info)) { _activePickCallbacks[b].push_back(i->callback); - break; + return; } } } -- 2.39.5