diff options
author | Paul Gilbert | 2009-07-18 01:22:43 +0000 |
---|---|---|
committer | Paul Gilbert | 2009-07-18 01:22:43 +0000 |
commit | 6235f9e176c4819c0dc17ad777e661a9c04cbe75 (patch) | |
tree | 6e863397876d9986e3bb705ed8f7a73109100e4a | |
parent | 025702ba4084dcad8dbe65c07a718f086320c19c (diff) | |
download | scummvm-rg350-6235f9e176c4819c0dc17ad777e661a9c04cbe75.tar.gz scummvm-rg350-6235f9e176c4819c0dc17ad777e661a9c04cbe75.tar.bz2 scummvm-rg350-6235f9e176c4819c0dc17ad777e661a9c04cbe75.zip |
Minor tweak to prevent mouse clicks that close a user wait message also being further interpreted as a user walk destination
svn-id: r42578
-rw-r--r-- | engines/cruise/cruise_main.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/cruise/cruise_main.cpp b/engines/cruise/cruise_main.cpp index e5864ebb31..30038e94f0 100644 --- a/engines/cruise/cruise_main.cpp +++ b/engines/cruise/cruise_main.cpp @@ -1798,6 +1798,9 @@ void CruiseEngine::mainLoop(void) { // User waiting has ended changeScriptParamInList(-1, -1, &procHead, 9999, 0); changeScriptParamInList(-1, -1, &relHead, 9999, 0); + + // Disable any mouse click used to end the user wait + currentMouseButton = 0; } manageScripts(&relHead); @@ -1899,8 +1902,6 @@ void CruiseEngine::mainLoop(void) { g_system->updateScreen(); } - manageEvents(); - } while (!playerDontAskQuit && quitValue2 && quitValue != 7); } |