diff options
author | glx <glx@openttd.org> | 2008-11-27 18:39:55 +0000 |
---|---|---|
committer | glx <glx@openttd.org> | 2008-11-27 18:39:55 +0000 |
commit | 93ee81fa45ebd1ec7236f523b2513b57d96930ed (patch) | |
tree | 50ead9389edca0bfa111f07e9d2bd95af0a2b509 | |
parent | 7b7e3e0fcee23555b73d1ff2abba5447cf7f3b1b (diff) | |
download | openttd-93ee81fa45ebd1ec7236f523b2513b57d96930ed.tar.xz |
(svn r14638) -Fix [FS#2430]: don't restore fast-forward when SaveFileDone() callback happens after we returned to the menu
-rw-r--r-- | src/saveload.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/saveload.cpp b/src/saveload.cpp index ac441ffba..a01d8137d 100644 --- a/src/saveload.cpp +++ b/src/saveload.cpp @@ -1523,7 +1523,7 @@ static void SaveFileStart() * on saveload */ static void SaveFileDone() { - _fast_forward = _ts.ff_state; + if (_game_mode != GM_MENU) _fast_forward = _ts.ff_state; if (_cursor.sprite == SPR_CURSOR_ZZZ) SetMouseCursor(SPR_CURSOR_MOUSE, PAL_NONE); InvalidateWindowData(WC_STATUS_BAR, 0, SBI_SAVELOAD_FINISH); |