aboutsummaryrefslogtreecommitdiff
path: root/engines/lure
diff options
context:
space:
mode:
authorPaul Gilbert2007-09-24 00:32:24 +0000
committerPaul Gilbert2007-09-24 00:32:24 +0000
commit6107a9f8241630fadfd1a0d1f89621d563ff0d4d (patch)
tree776e51cc304eea2f8f083667916d4828a0f1522a /engines/lure
parent63d59b2ee6fc178d79be342e5b417193254983f5 (diff)
downloadscummvm-rg350-6107a9f8241630fadfd1a0d1f89621d563ff0d4d.tar.gz
scummvm-rg350-6107a9f8241630fadfd1a0d1f89621d563ff0d4d.tar.bz2
scummvm-rg350-6107a9f8241630fadfd1a0d1f89621d563ff0d4d.zip
Added missing endian wrappers from Room Exit structure loading
svn-id: r29082
Diffstat (limited to 'engines/lure')
-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;