changeset 9508:d44fc90c8bec draft

(svn r13495) -Fix: scrolling the main map with the keys speed was influenced by movement of the mouse.
author rubidium <rubidium@openttd.org>
date Thu, 12 Jun 2008 19:06:30 +0000
parents 3035eb834dc5
children 8f3760896606
files src/window.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/window.cpp
+++ b/src/window.cpp
@@ -1809,7 +1809,6 @@
 	DecreaseWindowCounters();
 	HandlePlacePresize();
 	UpdateTileSelection();
-	HandleKeyScrolling();
 
 	if (!VpHandlePlaceSizingDrag())  return;
 	if (!HandleDragDrop())           return;
@@ -1949,6 +1948,7 @@
  */
 void InputLoop()
 {
+	HandleKeyScrolling();
 	HandleMouseEvents();
 	HandleAutoscroll();
 }