diff options
-rw-r--r-- | engines/cruise/cruise_main.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/cruise/cruise_main.cpp b/engines/cruise/cruise_main.cpp index cb51401a29..faea3e1e3a 100644 --- a/engines/cruise/cruise_main.cpp +++ b/engines/cruise/cruise_main.cpp @@ -1292,11 +1292,6 @@ int CruiseEngine::processInput(void) { buttonDown = 0; } - if (userDelay && !userWait) { - userDelay--; - return 0; - } - // Check for Exit 'X' key if (keyboardCode == Common::KEYCODE_x) return 1; @@ -1796,6 +1791,11 @@ void CruiseEngine::mainLoop(void) { enableUser = 0; } + if (userDelay && !userWait) { + userDelay--; + continue; + } + if (isUserWait & !userWait) { // User waiting has ended changeScriptParamInList(-1, -1, &procHead, 9999, 0); |