diff options
author | Travis Howell | 2004-02-23 01:10:05 +0000 |
---|---|---|
committer | Travis Howell | 2004-02-23 01:10:05 +0000 |
commit | 02eab2641dda74f8c327c535291949c52dea9192 (patch) | |
tree | dad51967e1e8e09d2f30ad0e953388fe5293dfab | |
parent | 6588b17469da1b6eb7ac1499f1ddfe20445a087c (diff) | |
download | scummvm-rg350-02eab2641dda74f8c327c535291949c52dea9192.tar.gz scummvm-rg350-02eab2641dda74f8c327c535291949c52dea9192.tar.bz2 scummvm-rg350-02eab2641dda74f8c327c535291949c52dea9192.zip |
Ooops, missed a call.
svn-id: r13000
-rw-r--r-- | scumm/script_v2.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/scumm/script_v2.cpp b/scumm/script_v2.cpp index a438a786db..01004a2ee7 100644 --- a/scumm/script_v2.cpp +++ b/scumm/script_v2.cpp @@ -1123,8 +1123,10 @@ void ScummEngine_v2::o2_stopScript() { script = vm.slot[_currentScript].number; if (_currentScript != 0) { - if (vm.slot[_currentScript].number == script) - stopScript(script); + if (vm.slot[_currentScript].number == script) + stopObjectCode(); + } else { + stopScript(script); } } |