Endian fix
svn-id: r29100
This commit is contained in:
parent
7308525489
commit
c89ef6060d
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ void read_room_data(byte *&data, uint16 &totalSize) {
|
|||
*offsetPtr++ = TO_LE_16(offset);
|
||||
|
||||
// Copy over basic room details
|
||||
lureExe.seek(dataSegment + headerEntry.offset);
|
||||
lureExe.seek(dataSegment + FROM_LE_16(headerEntry.offset));
|
||||
lureExe.read(&buffer, sizeof(RoomResource));
|
||||
RoomResourceOutput *rec = (RoomResourceOutput *) (data + offset);
|
||||
rec->hdrFlags = headerEntry.hdrFlags;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue