mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-23 10:19:27 +00:00
VOYEUR: Fix incorrect loop terminator in room data load loop
This commit is contained in:
parent
a518102b21
commit
d545b5cb75
@ -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…
Reference in New Issue
Block a user