From 1713d7ee3c1bad21c8dcc2cb5eba144eb692c9a4 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Sat, 15 Dec 2012 08:07:58 +0200 Subject: TINSEL: Always convert the inventory objects to the native endianess This is needed for DW1 Mac --- engines/tinsel/tinsel.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/engines/tinsel/tinsel.cpp b/engines/tinsel/tinsel.cpp index 944613bcb7..e836fdff1f 100644 --- a/engines/tinsel/tinsel.cpp +++ b/engines/tinsel/tinsel.cpp @@ -730,8 +730,7 @@ void LoadBasicChunks() { cptr = FindChunk(INV_OBJ_SCNHANDLE, CHUNK_OBJECTS); -#ifdef SCUMM_BIG_ENDIAN - //convert to native endianness + // Convert to native endianness INV_OBJECT *io = (INV_OBJECT *)cptr; for (int i = 0; i < numObjects; i++, io++) { io->id = FROM_32(io->id); @@ -739,7 +738,6 @@ void LoadBasicChunks() { io->hScript = FROM_32(io->hScript); io->attribute = FROM_32(io->attribute); } -#endif RegisterIcons(cptr, numObjects); -- cgit v1.2.3