[Scummvm-cvs-logs] scummvm master -> eb5579df54ff3522f0cc7b0bfa00812eff616a70

dreammaster dreammaster at scummvm.org
Sun Jun 7 23:28:55 CEST 2015


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:
eb5579df54 SHERLOCK: Fix loading of character walk sequence data


Commit: eb5579df54ff3522f0cc7b0bfa00812eff616a70
    https://github.com/scummvm/scummvm/commit/eb5579df54ff3522f0cc7b0bfa00812eff616a70
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2015-06-07T17:27:43-04:00

Commit Message:
SHERLOCK: Fix loading of character walk sequence data

Changed paths:
    engines/sherlock/objects.cpp



diff --git a/engines/sherlock/objects.cpp b/engines/sherlock/objects.cpp
index 9adaf49..32f0562 100644
--- a/engines/sherlock/objects.cpp
+++ b/engines/sherlock/objects.cpp
@@ -596,6 +596,8 @@ void WalkSequence::load(Common::SeekableReadStream &s) {
 	_horizFlip = s.readByte() != 0;
 
 	_sequences.resize(s.readUint16LE());
+	s.skip(4);		// Skip over pointer field of structure
+
 	s.read(&_sequences[0], _sequences.size());
 }
 






More information about the Scummvm-git-logs mailing list