aboutsummaryrefslogtreecommitdiff
path: root/engines/lilliput/script.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/lilliput/script.cpp')
-rw-r--r--engines/lilliput/script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lilliput/script.cpp b/engines/lilliput/script.cpp
index 42eff0864d..21238aafe3 100644
--- a/engines/lilliput/script.cpp
+++ b/engines/lilliput/script.cpp
@@ -2835,7 +2835,7 @@ void LilliputScript::OC_sub18213() {
maxItem = _array1813B[i] >> 8;
}
}
- sub1823E(_vm->_currentScriptCharacter, maxItem, &_vm->_characterVariables[var1]);
+ sub1823E(_vm->_currentScriptCharacter, maxItem, _vm->_currentCharacterVariables);
}
void LilliputScript::OC_sub18252() {