aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2013-12-13 23:26:51 -0500
committerPaul Gilbert2013-12-13 23:26:51 -0500
commit4ffa060832dbf7ad103ae80790e07eac91b329f0 (patch)
tree739fa4068443ad5cc70665b6d9cbddcdebc096db
parent033929d70184eea4f8a0507380f316ea9f27373f (diff)
downloadscummvm-rg350-4ffa060832dbf7ad103ae80790e07eac91b329f0.tar.gz
scummvm-rg350-4ffa060832dbf7ad103ae80790e07eac91b329f0.tar.bz2
scummvm-rg350-4ffa060832dbf7ad103ae80790e07eac91b329f0.zip
VOYEUR: Make parsePlayCommands debug parse Index be 1-based
-rw-r--r--engines/voyeur/files_threads.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/voyeur/files_threads.cpp b/engines/voyeur/files_threads.cpp
index c09293ade5..893e5e9d58 100644
--- a/engines/voyeur/files_threads.cpp
+++ b/engines/voyeur/files_threads.cpp
@@ -349,7 +349,7 @@ void ThreadResource::parsePlayCommands() {
for (int parseIndex = 0; parseIndex < _parseCount; ++parseIndex) {
uint16 id = READ_LE_UINT16(dataP);
debugC(DEBUG_BASIC, kDebugScripts, "parsePlayCommands (%d of %d) - cmd #%d",
- parseIndex, _parseCount, id);
+ parseIndex + 1, _parseCount, id);
dataP += 2;
switch (id) {