aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/create_lure/create_lure_dat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/create_lure/create_lure_dat.cpp b/tools/create_lure/create_lure_dat.cpp
index 93095ffc0d..6833a8678d 100644
--- a/tools/create_lure/create_lure_dat.cpp
+++ b/tools/create_lure/create_lure_dat.cpp
@@ -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;