VOYEUR: Fix incorrect loop terminator in room data load loop
This commit is contained in:
parent
a518102b21
commit
d545b5cb75
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue