aboutsummaryrefslogtreecommitdiff
path: root/engines/adl/hires2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/adl/hires2.cpp')
-rw-r--r--engines/adl/hires2.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/engines/adl/hires2.cpp b/engines/adl/hires2.cpp
index e5475201de..b99f9fc3c5 100644
--- a/engines/adl/hires2.cpp
+++ b/engines/adl/hires2.cpp
@@ -106,6 +106,15 @@ void HiRes2Engine::init() {
f.seek(IDI_HR2_OFS_CMDS_0);
readCommands(f, _globalCommands);
+ // Load dropped item offsets
+ f.seek(IDI_HR2_OFS_ITEM_OFFSETS);
+ for (uint i = 0; i < IDI_HR2_NUM_ITEM_OFFSETS; ++i) {
+ Common::Point p;
+ p.x = f.readByte();
+ p.y = f.readByte();
+ _itemOffsets.push_back(p);
+ }
+
f.seek(IDI_HR2_OFS_VERBS);
loadWords(f, _verbs);