diff options
-rw-r--r-- | engines/mohawk/riven_stacks/ospit.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/mohawk/riven_stacks/ospit.cpp b/engines/mohawk/riven_stacks/ospit.cpp index 2393052881..c48bebc644 100644 --- a/engines/mohawk/riven_stacks/ospit.cpp +++ b/engines/mohawk/riven_stacks/ospit.cpp @@ -50,8 +50,9 @@ void OSpit::xorollcredittime(const ArgumentArray &args) { // be messy to modify the way that currently works. If we use the trap book on Tay, // we should be using the Tay end game sequences. if (_vm->_vars["returnstackid"] == kStackRspit) { - _vm->changeToStack(kStackRspit); - _vm->changeToCard(2); + RivenScriptPtr script = _vm->_scriptMan->createScriptWithCommand( + new RivenStackChangeCommand(_vm, kStackRspit, 0x3338, true)); + _vm->_scriptMan->runScript(script, false); return; } |