diff options
author | Chris Apers | 2006-09-10 16:29:06 +0000 |
---|---|---|
committer | Chris Apers | 2006-09-10 16:29:06 +0000 |
commit | a851fb353c81089bdb9e3c0e14407a23441a32ac (patch) | |
tree | 1473a8e5c45726afb751ce6ca8a4915328e22e0e /engines | |
parent | 65c0bdcaa0befc1f02502cb74945aa43669d8b76 (diff) | |
download | scummvm-rg350-a851fb353c81089bdb9e3c0e14407a23441a32ac.tar.gz scummvm-rg350-a851fb353c81089bdb9e3c0e14407a23441a32ac.tar.bz2 scummvm-rg350-a851fb353c81089bdb9e3c0e14407a23441a32ac.zip |
Make Lure run again on PalmOS fixing unaligned read
svn-id: r23865
Diffstat (limited to 'engines')
-rw-r--r-- | engines/lure/res_struct.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lure/res_struct.cpp b/engines/lure/res_struct.cpp index e94b55b2e4..e7ed3bc075 100644 --- a/engines/lure/res_struct.cpp +++ b/engines/lure/res_struct.cpp @@ -247,7 +247,7 @@ RoomExitJoinData::RoomExitJoinData(RoomExitJoinResource *rec) { HotspotActionData::HotspotActionData(HotspotActionResource *rec) { action = (Action) rec->action; - sequenceOffset = FROM_LE_16(rec->sequenceOffset); + sequenceOffset = READ_LE_UINT16(&rec->sequenceOffset); } uint16 HotspotActionList::getActionOffset(Action action) { |