diff options
author | Joost Peters | 2009-02-01 23:06:35 +0000 |
---|---|---|
committer | Joost Peters | 2009-02-01 23:06:35 +0000 |
commit | 00e5b84f9fc18af7b14dee52a24414a68a1d6ad0 (patch) | |
tree | a2b8ab7f2906acee9c671644ddfb316230bce7f3 /engines/tinsel | |
parent | dd39274391c3d6ed5eea1e3526f905a4908337db (diff) | |
download | scummvm-rg350-00e5b84f9fc18af7b14dee52a24414a68a1d6ad0.tar.gz scummvm-rg350-00e5b84f9fc18af7b14dee52a24414a68a1d6ad0.tar.bz2 scummvm-rg350-00e5b84f9fc18af7b14dee52a24414a68a1d6ad0.zip |
endian fix
svn-id: r36196
Diffstat (limited to 'engines/tinsel')
-rw-r--r-- | engines/tinsel/polygons.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tinsel/polygons.cpp b/engines/tinsel/polygons.cpp index 4193eaa4d8..6f904e9372 100644 --- a/engines/tinsel/polygons.cpp +++ b/engines/tinsel/polygons.cpp @@ -214,7 +214,7 @@ void Poly::nextPoly() { const byte *pRecord = _pData; int typeVal = nextLong(_pData); - if ((typeVal == 5) && TinselV2) ++typeVal; + if ((FROM_LE_32(typeVal) == 5) && TinselV2) typeVal = TO_LE_32(6); type = (POLY_TYPE)typeVal; for (int i = 0; i < 4; ++i) x[i] = nextLong(_pData); |