mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-05 13:57:01 +00:00
(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:
parent
7b7e3e0fce
commit
93ee81fa45
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user