aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/mohawk/riven_scripts.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mohawk/riven_scripts.cpp b/engines/mohawk/riven_scripts.cpp
index 2985f155d5..44ecca1304 100644
--- a/engines/mohawk/riven_scripts.cpp
+++ b/engines/mohawk/riven_scripts.cpp
@@ -657,7 +657,7 @@ void RivenSimpleCommand::dump(byte tabs) {
debugN("%s(", externalCommandName.c_str());
uint16 varCount = _arguments[1];
for (uint16 j = 0; j < varCount; j++) {
- debugN("%d", _arguments[1 + j]);
+ debugN("%d", _arguments[2 + j]);
if (j != varCount - 1)
debugN(", ");
}