aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/map_v4.cpp
diff options
context:
space:
mode:
authorSven Hesse2008-05-27 00:03:29 +0000
committerSven Hesse2008-05-27 00:03:29 +0000
commita6649af56eb51092682a320d39fde199b77f7fc5 (patch)
tree0ef8c14a4630825a5fd1601a5753fcdea3ed30ff /engines/gob/map_v4.cpp
parenta0a8e0e69061dd2823b3aac2f4d8a9994cdf3cba (diff)
downloadscummvm-rg350-a6649af56eb51092682a320d39fde199b77f7fc5.tar.gz
scummvm-rg350-a6649af56eb51092682a320d39fde199b77f7fc5.tar.bz2
scummvm-rg350-a6649af56eb51092682a320d39fde199b77f7fc5.zip
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
Diffstat (limited to 'engines/gob/map_v4.cpp')
-rw-r--r--engines/gob/map_v4.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/map_v4.cpp b/engines/gob/map_v4.cpp
index 721f040341..a3c3222213 100644
--- a/engines/gob/map_v4.cpp
+++ b/engines/gob/map_v4.cpp
@@ -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;