aboutsummaryrefslogtreecommitdiff
path: root/sword2/logic.cpp
diff options
context:
space:
mode:
authorMax Horn2003-09-07 03:18:27 +0000
committerMax Horn2003-09-07 03:18:27 +0000
commit78476c6bd68834fa0a283c1c4b5ecbb140a94472 (patch)
tree413381b338e73137bc371d083c0e36a029b63df7 /sword2/logic.cpp
parent418649fca2064617afd642134d07e0eadf732132 (diff)
downloadscummvm-rg350-78476c6bd68834fa0a283c1c4b5ecbb140a94472.tar.gz
scummvm-rg350-78476c6bd68834fa0a283c1c4b5ecbb140a94472.tar.bz2
scummvm-rg350-78476c6bd68834fa0a283c1c4b5ecbb140a94472.zip
more endian fixes
svn-id: r10058
Diffstat (limited to 'sword2/logic.cpp')
-rw-r--r--sword2/logic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sword2/logic.cpp b/sword2/logic.cpp
index d2285b7b8a..533d8c3e9b 100644
--- a/sword2/logic.cpp
+++ b/sword2/logic.cpp
@@ -81,7 +81,7 @@ int logic::Process_session(void) //Tony6June96 (first run 21Oct96)
Con_fatal_error("Logic_engine %d not a run_list", run_list);
game_object_list = (uint32 *) (head+1);
- ID = game_object_list[pc++]; //read the next id
+ ID = FROM_LE_32(game_object_list[pc++]); //read the next id
id=ID;
res_man.Res_close(run_list); //release the list again so it can float in memory - at this point not one thing should be locked