diff options
author | rubidium <rubidium@openttd.org> | 2008-06-12 19:06:30 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-06-12 19:06:30 +0000 |
commit | 7dcc69e617ef3630f12371af5bf3d148928ca9b1 (patch) | |
tree | 42d76987dd66c0f74c36a025c27c09a46c41b483 | |
parent | 005d612227b3d08d15e21b874ec381e5771ba6ce (diff) | |
download | openttd-7dcc69e617ef3630f12371af5bf3d148928ca9b1.tar.xz |
(svn r13495) -Fix: scrolling the main map with the keys speed was influenced by movement of the mouse.
-rw-r--r-- | src/window.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window.cpp b/src/window.cpp index 9ac86b2e7..c33b48f06 100644 --- a/src/window.cpp +++ b/src/window.cpp @@ -1809,7 +1809,6 @@ void MouseLoop(MouseClick click, int mousewheel) DecreaseWindowCounters(); HandlePlacePresize(); UpdateTileSelection(); - HandleKeyScrolling(); if (!VpHandlePlaceSizingDrag()) return; if (!HandleDragDrop()) return; @@ -1949,6 +1948,7 @@ void HandleMouseEvents() */ void InputLoop() { + HandleKeyScrolling(); HandleMouseEvents(); HandleAutoscroll(); } |