diff options
author | Walter van Niftrik | 2016-08-28 20:29:11 +0200 |
---|---|---|
committer | Walter van Niftrik | 2016-08-28 21:01:12 +0200 |
commit | 9250bf58fe00ab5a0265b9a4ca32726abab83c37 (patch) | |
tree | 74f481a531f1e93500311993a2e71d93194bf84b /engines/adl/hires6.cpp | |
parent | 4933b59e8e039ae346f650c044e5fe0ba6310ead (diff) | |
download | scummvm-rg350-9250bf58fe00ab5a0265b9a4ca32726abab83c37.tar.gz scummvm-rg350-9250bf58fe00ab5a0265b9a4ca32726abab83c37.tar.bz2 scummvm-rg350-9250bf58fe00ab5a0265b9a4ca32726abab83c37.zip |
ADL: Load hires4 dropped-item offsets
Diffstat (limited to 'engines/adl/hires6.cpp')
-rw-r--r-- | engines/adl/hires6.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/engines/adl/hires6.cpp b/engines/adl/hires6.cpp index 314d8174b4..d44a2e4872 100644 --- a/engines/adl/hires6.cpp +++ b/engines/adl/hires6.cpp @@ -146,12 +146,7 @@ void HiRes6Engine::init() { // Load dropped item offsets stream.reset(_boot->createReadStream(0x8, 0x9, 0x16)); - for (uint i = 0; i < IDI_HR6_NUM_ITEM_OFFSETS; ++i) { - Common::Point p; - p.x = stream->readByte(); - p.y = stream->readByte(); - _itemOffsets.push_back(p); - } + loadDroppedItemOffsets(*stream, IDI_HR6_NUM_ITEM_OFFSETS); // Location of game data for each disc stream.reset(_boot->createReadStream(0x5, 0xa, 0x03)); |