aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2005-04-11 20:44:33 +0000
committerMax Horn2005-04-11 20:44:33 +0000
commit17163ea7a50fc09d5146d27716c186882f129ed4 (patch)
treec78797f9b058a4f579c43c496840dc06fb60697e
parent40d7c623ccffc35bbf670fbebf51abc3ec1a39f3 (diff)
downloadscummvm-rg350-17163ea7a50fc09d5146d27716c186882f129ed4.tar.gz
scummvm-rg350-17163ea7a50fc09d5146d27716c186882f129ed4.tar.bz2
scummvm-rg350-17163ea7a50fc09d5146d27716c186882f129ed4.zip
no, we only check for the value being 0, so no endian conversion is needed ;-)
svn-id: r17554
-rw-r--r--gob/map.cpp3
1 files changed, 1 insertions, 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)