aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2015-07-04 01:16:44 +0300
committerFilippos Karapetis2015-07-04 01:51:46 +0300
commitd7e0f8f4c19c57bf856b852c997ef49acbe26adb (patch)
treea13a210e03de749c13c3cecfa72641b9fd725456
parenta95d22a2cdd5bcc5c2483422be3194d1050e0fa4 (diff)
downloadscummvm-rg350-d7e0f8f4c19c57bf856b852c997ef49acbe26adb.tar.gz
scummvm-rg350-d7e0f8f4c19c57bf856b852c997ef49acbe26adb.tar.bz2
scummvm-rg350-d7e0f8f4c19c57bf856b852c997ef49acbe26adb.zip
MADS: V2: The two new hotspot fields refer to the cursor and the syntax
-rw-r--r--engines/mads/hotspots.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/mads/hotspots.cpp b/engines/mads/hotspots.cpp
index bd28645504..8afef2e524 100644
--- a/engines/mads/hotspots.cpp
+++ b/engines/mads/hotspots.cpp
@@ -193,9 +193,8 @@ Hotspot::Hotspot(Common::SeekableReadStream &f, bool isV2) {
_active = f.readByte() != 0;
_cursor = (CursorType)f.readByte();
if (isV2) {
- // This looks to be some sort of bitmask. Perhaps it signifies
- // the valid verbs for this hotspot
- f.skip(2); // unknown
+ f.skip(1); // cursor
+ f.skip(1); // syntax
}
_vocabId = f.readUint16LE();
_verbId = f.readUint16LE();