VOYEUR: Fix incorrect loop terminator in room data load loop

This commit is contained in:
Paul Gilbert 2014-02-02 14:41:18 -05:00
parent a518102b21
commit d545b5cb75

View File

@ -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;