aboutsummaryrefslogtreecommitdiff
path: root/scumm/script.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/script.cpp')
-rw-r--r--scumm/script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/script.cpp b/scumm/script.cpp
index 4d92ee48f6..f7625f67c2 100644
--- a/scumm/script.cpp
+++ b/scumm/script.cpp
@@ -90,7 +90,7 @@ void Scumm::stopScriptNr(int script) {
ss = vm.slot;
for (i = 0; i < NUM_SCRIPT_SLOT; i++, ss++) {
if (script == ss->number && ss->status != ssDead &&
- (ss->where == WIO_GLOBAL && ss->where == WIO_LOCAL)) {
+ (ss->where == WIO_GLOBAL || ss->where == WIO_LOCAL)) {
if (ss->cutsceneOverride)
error("Script %d stopped with active cutscene/override", script);
ss->number = 0;