From 4ffa060832dbf7ad103ae80790e07eac91b329f0 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Fri, 13 Dec 2013 23:26:51 -0500 Subject: VOYEUR: Make parsePlayCommands debug parse Index be 1-based --- engines/voyeur/files_threads.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') 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) { -- cgit v1.2.3