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

dreammaster dreammaster at scummvm.org
Mon Jun 8 02:35:21 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:
d171d07e2f SHERLOCK: Fix loadWalk checks against WALK_LIB_NAMES


Commit: d171d07e2f26d17b3132aa6cd7093a264947f51f
    https://github.com/scummvm/scummvm/commit/d171d07e2f26d17b3132aa6cd7093a264947f51f
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2015-06-07T20:34:18-04:00

Commit Message:
SHERLOCK: Fix loadWalk checks against WALK_LIB_NAMES

Changed paths:
    engines/sherlock/people.cpp



diff --git a/engines/sherlock/people.cpp b/engines/sherlock/people.cpp
index 65b52c5..9416ae9 100644
--- a/engines/sherlock/people.cpp
+++ b/engines/sherlock/people.cpp
@@ -212,7 +212,7 @@ bool People::loadWalk() {
 
 				// See if this is one of the more used Walk Graphics stored in WALK.LIB
 				for (int libNum = 0; libNum < NUM_IN_WALK_LIB; ++libNum) {
-					if (!_data[0]._walkVGSName.compareToIgnoreCase(WALK_LIB_NAMES[libNum])) {
+					if (!_data[idx]._walkVGSName.compareToIgnoreCase(WALK_LIB_NAMES[libNum])) {
 						_useWalkLib = true;
 						break;
 					}






More information about the Scummvm-git-logs mailing list