From 93ee81fa45ebd1ec7236f523b2513b57d96930ed Mon Sep 17 00:00:00 2001 From: glx Date: Thu, 27 Nov 2008 18:39:55 +0000 Subject: (svn r14638) -Fix [FS#2430]: don't restore fast-forward when SaveFileDone() callback happens after we returned to the menu --- src/saveload.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3-70-g09d2