[Scummvm-git-logs] scummvm master -> fb3f76cde947b7320765793850d6e432dffa464e

fuzzie fuzzie at fuzzie.org
Sat Dec 17 16:14:35 CET 2016


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
fb3f76cde9 ADL: Seek to start before re-reading item pics (v4).


Commit: fb3f76cde947b7320765793850d6e432dffa464e
    https://github.com/scummvm/scummvm/commit/fb3f76cde947b7320765793850d6e432dffa464e
Author: Alyssa Milburn (fuzzie at fuzzie.org)
Date: 2016-12-17T16:14:04+01:00

Commit Message:
ADL: Seek to start before re-reading item pics (v4).

Changed paths:
    engines/adl/adl_v4.cpp


diff --git a/engines/adl/adl_v4.cpp b/engines/adl/adl_v4.cpp
index 8b72923..267399f 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);
 	}
 





More information about the Scummvm-git-logs mailing list