From c34704972ece95bfbcf0c0837cf5b8102387194d Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Tue, 6 Nov 2012 12:58:33 +0200 Subject: SCI: reset _throttleLastTime when restarting This ensures that the load dialog in the ScummVM menu won't be available at inappropriate times when a game is restarting (e.g QFG1, during the starting warning dialogs - bug #3565505) --- engines/sci/sci.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'engines/sci') diff --git a/engines/sci/sci.cpp b/engines/sci/sci.cpp index 15b18ce8e6..118f7d9b33 100644 --- a/engines/sci/sci.cpp +++ b/engines/sci/sci.cpp @@ -699,6 +699,7 @@ void SciEngine::runGame() { patchGameSaveRestore(); setLauncherLanguage(); _gamestate->gameIsRestarting = GAMEISRESTARTING_RESTART; + _gamestate->_throttleLastTime = 0; if (_gfxMenu) _gfxMenu->reset(); _gamestate->abortScriptProcessing = kAbortNone; -- cgit v1.2.3