aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v6he.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/script_v6he.cpp')
-rw-r--r--scumm/script_v6he.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/script_v6he.cpp b/scumm/script_v6he.cpp
index ca81970d47..1bbd189ec8 100644
--- a/scumm/script_v6he.cpp
+++ b/scumm/script_v6he.cpp
@@ -1127,7 +1127,7 @@ void ScummEngine_v6he::o6_localizeArray() {
int slot = pop();
if (slot < _numArray) {
- _arraySlot[slot] = vm.slot[_currentScript].number;
+ _arraySlot[slot] = _currentScript;
} else {
warning("o6_localizeArray(%d): array slot out of range", slot);
}