aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlyssa Milburn2016-12-17 16:14:00 +0100
committerAlyssa Milburn2016-12-17 16:14:04 +0100
commitfb3f76cde947b7320765793850d6e432dffa464e (patch)
tree710b3488383ac995d23b11978b63b94aa0a2d81d
parentc6793bd228554422e604ebf155939c38c6a741ac (diff)
downloadscummvm-rg350-fb3f76cde947b7320765793850d6e432dffa464e.tar.gz
scummvm-rg350-fb3f76cde947b7320765793850d6e432dffa464e.tar.bz2
scummvm-rg350-fb3f76cde947b7320765793850d6e432dffa464e.zip
ADL: Seek to start before re-reading item pics (v4).
-rw-r--r--engines/adl/adl_v4.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/adl/adl_v4.cpp b/engines/adl/adl_v4.cpp
index 8b72923e8b..267399fb61 100644
--- a/engines/adl/adl_v4.cpp
+++ b/engines/adl/adl_v4.cpp
@@ -143,6 +143,7 @@ void AdlEngine_v4::loadRegion(byte region) {
// implementation choices made earlier on for DataBlockPtr and DiskImage.
_state.region = 0; // To avoid region offset being applied
_itemPics.clear();
+ _itemPicIndex->seek(0);
loadItemPictures(*_itemPicIndex, _itemPicIndex->size() / 5);
}