aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Bouclet2016-08-15 15:14:51 +0200
committerEugene Sandulenko2017-07-03 08:50:10 +0200
commit8fcebc12c6f653dbfbd06af50a03074a33ac8810 (patch)
treea0183b7eef451709fdf24592229ea913555c0a68
parent1a5b2a1e50cbb9067829810d31726a5447b72791 (diff)
downloadscummvm-rg350-8fcebc12c6f653dbfbd06af50a03074a33ac8810.tar.gz
scummvm-rg350-8fcebc12c6f653dbfbd06af50a03074a33ac8810.tar.bz2
scummvm-rg350-8fcebc12c6f653dbfbd06af50a03074a33ac8810.zip
MOHAWK: Fix dumping Riven external commands' arguments
-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(", ");
}