src/saveload.cpp
changeset 10387 93e6f7a70691
parent 10347 6da2d30f2fe8
equal deleted inserted replaced
10386:8b0c6c21c08b 10387:93e6f7a70691
  1521 
  1521 
  1522 /** Update the gui accordingly when saving is done and release locks
  1522 /** Update the gui accordingly when saving is done and release locks
  1523  * on saveload */
  1523  * on saveload */
  1524 static void SaveFileDone()
  1524 static void SaveFileDone()
  1525 {
  1525 {
  1526 	_fast_forward = _ts.ff_state;
  1526 	if (_game_mode != GM_MENU) _fast_forward = _ts.ff_state;
  1527 	if (_cursor.sprite == SPR_CURSOR_ZZZ) SetMouseCursor(SPR_CURSOR_MOUSE, PAL_NONE);
  1527 	if (_cursor.sprite == SPR_CURSOR_ZZZ) SetMouseCursor(SPR_CURSOR_MOUSE, PAL_NONE);
  1528 
  1528 
  1529 	InvalidateWindowData(WC_STATUS_BAR, 0, SBI_SAVELOAD_FINISH);
  1529 	InvalidateWindowData(WC_STATUS_BAR, 0, SBI_SAVELOAD_FINISH);
  1530 	_ts.saveinprogress = false;
  1530 	_ts.saveinprogress = false;
  1531 }
  1531 }