aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2007-09-23 13:40:28 +0000
committerEugene Sandulenko2007-09-23 13:40:28 +0000
commit9d26f30929df7f2c5fbe2025de0d8034fd3ac8c1 (patch)
tree862cfb20df32871b74f22cd183bd7e17fe5bcc8d
parent4e0913b19f4599bcf44dc0c27856356d0f1ad5b7 (diff)
downloadscummvm-rg350-9d26f30929df7f2c5fbe2025de0d8034fd3ac8c1.tar.gz
scummvm-rg350-9d26f30929df7f2c5fbe2025de0d8034fd3ac8c1.tar.bz2
scummvm-rg350-9d26f30929df7f2c5fbe2025de0d8034fd3ac8c1.zip
Fix regression
svn-id: r29050
-rw-r--r--engines/agi/preagi_winnie.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/agi/preagi_winnie.cpp b/engines/agi/preagi_winnie.cpp
index 2d15d09b7b..d40c210070 100644
--- a/engines/agi/preagi_winnie.cpp
+++ b/engines/agi/preagi_winnie.cpp
@@ -73,10 +73,10 @@ void Winnie::parseRoomHeader(WTP_ROOM_HDR *roomHdr, byte *buffer, int len) {
roomHdr->reserved0 = readS.readUint16();
for (i = 0; i < IDI_WTP_MAX_DIR; i++)
- roomHdr->roomNew[i] = readS.readUint16();
+ roomHdr->roomNew[i] = readS.readByte();
- roomHdr->objX = readS.readUint16();
- roomHdr->objY = readS.readUint16();
+ roomHdr->objX = readS.readByte();
+ roomHdr->objY = readS.readByte();
roomHdr->reserved1 = readS.readUint16();