summaryrefslogtreecommitdiff
path: root/src/openttd.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2014-02-09 20:37:36 +0000
committerrubidium <rubidium@openttd.org>2014-02-09 20:37:36 +0000
commita4941e759c95f218c10c5e13854901a6fede46ed (patch)
tree12b97adc2943f2e1b923808b96e07db06238ba15 /src/openttd.cpp
parent20737a34621188ea6e1ebac40f33b04010fb501f (diff)
downloadopenttd-a4941e759c95f218c10c5e13854901a6fede46ed.tar.xz
(svn r26326) -Fix [FS#5871]: when autosaving the message about a save already happening could be shown, even though the code's intention was to not show it (MJP)
Diffstat (limited to 'src/openttd.cpp')
-rw-r--r--src/openttd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openttd.cpp b/src/openttd.cpp
index 6092805eb..6c700a016 100644
--- a/src/openttd.cpp
+++ b/src/openttd.cpp
@@ -1445,8 +1445,8 @@ void GameLoop()
/* autosave game? */
if (_do_autosave) {
- _do_autosave = false;
DoAutosave();
+ _do_autosave = false;
SetWindowDirty(WC_STATUS_BAR, 0);
}