diff options
-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); } } |