aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/lure/res_struct.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/lure/res_struct.cpp b/engines/lure/res_struct.cpp
index 3754cdf0a0..5eb7cb2aa0 100644
--- a/engines/lure/res_struct.cpp
+++ b/engines/lure/res_struct.cpp
@@ -117,11 +117,11 @@ RoomExitHotspotData::RoomExitHotspotData(RoomExitHotspotResource *rec) {
// Room exit class
RoomExitData::RoomExitData(RoomExitResource *rec) {
- xs = rec->xs;
- ys = rec->ys;
- xe = rec->xe;
- ye = rec->ye;
- sequenceOffset = rec->sequenceOffset;
+ xs = FROM_LE_16(rec->xs);
+ ys = FROM_LE_16(rec->ys);
+ xe = FROM_LE_16(rec->xe);
+ ye = FROM_LE_16(rec->ye);
+ sequenceOffset = FROM_LE_16(rec->sequenceOffset);
roomNumber = rec->newRoom;
x = rec->newRoomX;
y = rec->newRoomY;