Modified Files:
src/Input/input.cxx: Do not change mouse modes if we had a valid scenery pick.
This commit is contained in:
parent
994c8efa00
commit
ee30992e55
1 changed files with 1 additions and 1 deletions
|
@ -299,7 +299,7 @@ FGInput::doMouseClick (int b, int updown, int x, int y)
|
||||||
for (i = pickList.begin(); i != pickList.end(); ++i) {
|
for (i = pickList.begin(); i != pickList.end(); ++i) {
|
||||||
if (i->callback->buttonPressed(b, i->info)) {
|
if (i->callback->buttonPressed(b, i->info)) {
|
||||||
_activePickCallbacks[b].push_back(i->callback);
|
_activePickCallbacks[b].push_back(i->callback);
|
||||||
break;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue