Fixed an endian-related issue, making Woodruff controlable on big-endian machines.

It still breaks when switching screens and object videos are mispositioned, though.

svn-id: r32310
This commit is contained in:
Sven Hesse 2008-05-27 00:03:29 +00:00
parent a0a8e0e690
commit a6649af56e

View File

@ -113,7 +113,7 @@ void Map_v4::loadMapObjects(const char *avjFile) {
}
if (_widthByte == 4)
_mapWidth = (int16) READ_VARO_UINT16(68);
_mapWidth = VAR(17);
_passWidth = _mapWidth;