From 9d26f30929df7f2c5fbe2025de0d8034fd3ac8c1 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sun, 23 Sep 2007 13:40:28 +0000 Subject: Fix regression svn-id: r29050 --- engines/agi/preagi_winnie.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'engines/agi') 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(); -- cgit v1.2.3