diff options
author | Sven Hesse | 2007-07-26 03:17:54 +0000 |
---|---|---|
committer | Sven Hesse | 2007-07-26 03:17:54 +0000 |
commit | b644e460aac65a7aa2770845336f5a255c1a9d72 (patch) | |
tree | 1fdfa8af95f76c44ef7d859496aa6b38e3bdfab0 /engines/gob/game_v2.cpp | |
parent | 459868da77de9cb6a4f1820fd7274b2bb38ecc52 (diff) | |
download | scummvm-rg350-b644e460aac65a7aa2770845336f5a255c1a9d72.tar.gz scummvm-rg350-b644e460aac65a7aa2770845336f5a255c1a9d72.tar.bz2 scummvm-rg350-b644e460aac65a7aa2770845336f5a255c1a9d72.zip |
Corrected Woodruff's hotspot text positions.
svn-id: r28208
Diffstat (limited to 'engines/gob/game_v2.cpp')
-rw-r--r-- | engines/gob/game_v2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/game_v2.cpp b/engines/gob/game_v2.cpp index d5c237c974..4ccd6d718e 100644 --- a/engines/gob/game_v2.cpp +++ b/engines/gob/game_v2.cpp @@ -151,7 +151,7 @@ void Game_v2::playTot(int16 skipPlay) { if (_totTextData->dataPtr != 0) { Common::MemoryReadStream totTextData(_totTextData->dataPtr, 4294967295U); - _totTextData->itemsCount = MIN<int32>(totTextData.readSint16LE(), (size - 2) / 4); + _totTextData->itemsCount = totTextData.readSint16LE() & 0x3FFF; _totTextData->items = new TotTextItem[_totTextData->itemsCount]; for (int i = 0; i < _totTextData->itemsCount; ++i) { |