From d545b5cb75b31fc72ea14e508c04a60499c4cc4d Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sun, 2 Feb 2014 14:41:18 -0500 Subject: [PATCH] VOYEUR: Fix incorrect loop terminator in room data load loop --- engines/voyeur/files_threads.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/voyeur/files_threads.cpp b/engines/voyeur/files_threads.cpp index 5ea450e30f2..409031d6e0b 100644 --- a/engines/voyeur/files_threads.cpp +++ b/engines/voyeur/files_threads.cpp @@ -181,7 +181,7 @@ void ThreadResource::getButtonsFlags() { void ThreadResource::getField1CE() { int idx = 0; - for (const byte *p = _threadInfoPtr; *p++ != 0x49; p = getNextRecord(p)) { + for (const byte *p = _threadInfoPtr; *p++ != 0x4A; p = getNextRecord(p)) { assert(idx < 47); _field1CE[idx++] = getRecordOffset(p); _field1CE[idx] = NULL;