From 17163ea7a50fc09d5146d27716c186882f129ed4 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Mon, 11 Apr 2005 20:44:33 +0000 Subject: no, we only check for the value being 0, so no endian conversion is needed ;-) svn-id: r17554 --- gob/map.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gob/map.cpp b/gob/map.cpp index 51afb3acd6..d603dafe6c 100644 --- a/gob/map.cpp +++ b/gob/map.cpp @@ -523,7 +523,6 @@ void map_loadMapObjects(char *avjFile) { map_avoDataPtr += 2; gob_goblins[i]->realStateMach = gob_goblins[i]->stateMach; - for (state = 0; state < 40; state++) { for (col = 0; col < 6; col++) { if (gob_goblins[i]->stateMach[state][col] == 0) @@ -678,7 +677,7 @@ void map_loadMapObjects(char *avjFile) { for (i = 0; i < state; i++) { map_avoDataPtr += 30; - map_loadDataFromAvo((char *)&flag, 4); // FIXME: Endian conversion needed? + map_loadDataFromAvo((char *)&flag, 4); map_avoDataPtr += 56; if (flag != 0) -- cgit v1.2.3