diff options
Diffstat (limited to 'engines/lure/res.cpp')
-rw-r--r-- | engines/lure/res.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lure/res.cpp b/engines/lure/res.cpp index 3c183ebafc..4da38eddc7 100644 --- a/engines/lure/res.cpp +++ b/engines/lure/res.cpp @@ -268,7 +268,7 @@ void Resources::reloadData() { // Load in the list of room exit coordinates mb = d.getEntry(EXIT_COORDINATES_RESOURCE_ID); RoomExitCoordinateEntryResource *coordRec = (RoomExitCoordinateEntryResource *) mb->data(); - while (*((uint16 *) coordRec) != 0xffff) { + while (READ_LE_UINT16(coordRec) != 0xffff) { RoomExitCoordinates *newEntry = new RoomExitCoordinates(coordRec); _coordinateList.push_back(newEntry); ++coordRec; |