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 | b14d884a0ae6a7a2d44238984a49d8a1af580a93 (patch) | |
tree | 42d76987dd66c0f74c36a025c27c09a46c41b483 | |
parent | ecbf3bd0de3e684e6f92826e72367ec6389d400e (diff) | |
download | openttd-b14d884a0ae6a7a2d44238984a49d8a1af580a93.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(); } |