Skip to content

Commit

Permalink
SHERLOCK: Fix loadWalk checks against WALK_LIB_NAMES
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Jun 8, 2015
1 parent bfdedb6 commit d171d07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/sherlock/people.cpp
Expand Up @@ -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;
}
Expand Down

0 comments on commit d171d07

Please sign in to comment.