diff options
author | Bastien Bouclet | 2018-07-13 19:31:56 +0200 |
---|---|---|
committer | Bastien Bouclet | 2018-07-13 19:44:48 +0200 |
commit | d91ac014195dea06e42daa7351c9a3844ef34aec (patch) | |
tree | 8e8c2bd56b169f8f1f1970a48b1b43320954b302 /engines/mohawk/riven_stacks/aspit.cpp | |
parent | 788574e751f89096ba580306818e5d999db9c016 (diff) | |
download | scummvm-rg350-d91ac014195dea06e42daa7351c9a3844ef34aec.tar.gz scummvm-rg350-d91ac014195dea06e42daa7351c9a3844ef34aec.tar.bz2 scummvm-rg350-d91ac014195dea06e42daa7351c9a3844ef34aec.zip |
MOHAWK: RIVEN: Queue opening and closing the main menu as scripts
This way all the other actions are blocked while the card load scripts
are executed. Expecially, it's not possible anymore to open the main
menu while the scripts for returning from the main menu are still
executing.
Fixes Trac#10628.
Diffstat (limited to 'engines/mohawk/riven_stacks/aspit.cpp')
-rw-r--r-- | engines/mohawk/riven_stacks/aspit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mohawk/riven_stacks/aspit.cpp b/engines/mohawk/riven_stacks/aspit.cpp index a94b454257..59cc3b9912 100644 --- a/engines/mohawk/riven_stacks/aspit.cpp +++ b/engines/mohawk/riven_stacks/aspit.cpp @@ -424,7 +424,7 @@ void ASpit::xaNewGame(const ArgumentArray &args) { kRivenCommandTransition, 1, kRivenTransitionBlend, kRivenCommandChangeCard, 1, 2); - script->addCommand(RivenCommandPtr(new RivenStackChangeCommand(_vm, 0, 0x6E9A, false))); + script->addCommand(RivenCommandPtr(new RivenStackChangeCommand(_vm, 0, 0x6E9A, false, false))); script += _vm->_scriptMan->createScriptFromData(1, kRivenCommandStopSound, 1, 2); |