summaryrefslogtreecommitdiff
path: root/ttd.c
diff options
context:
space:
mode:
Diffstat (limited to 'ttd.c')
-rw-r--r--ttd.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/ttd.c b/ttd.c
index 20c7798cd..0ebd341cf 100644
--- a/ttd.c
+++ b/ttd.c
@@ -1112,6 +1112,8 @@ static void DoAutosave(void)
ShowErrorMessage(INVALID_STRING_ID, STR_AUTOSAVE_FAILED, 0, 0);
}
+extern void HandleKeyScrolling(void);
+
void GameLoop(void)
{
int m;
@@ -1123,6 +1125,9 @@ void GameLoop(void)
RedrawAutosave();
}
+ // handle scrolling of the main window
+ if (_dirkeys) HandleKeyScrolling();
+
// make a screenshot?
if ((m=_make_screenshot) != 0) {
_make_screenshot = 0;