(svn r14638) -Fix [FS#2430]: don't restore fast-forward when SaveFileDone() callback happens after we returned to the menu

This commit is contained in:
glx 2008-11-27 18:39:55 +00:00
parent 7b7e3e0fce
commit 93ee81fa45

View File

@ -1523,7 +1523,7 @@ static void SaveFileStart()
* on saveload */ * on saveload */
static void SaveFileDone() 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); if (_cursor.sprite == SPR_CURSOR_ZZZ) SetMouseCursor(SPR_CURSOR_MOUSE, PAL_NONE);
InvalidateWindowData(WC_STATUS_BAR, 0, SBI_SAVELOAD_FINISH); InvalidateWindowData(WC_STATUS_BAR, 0, SBI_SAVELOAD_FINISH);