diff options
author | Paul Gilbert | 2015-06-07 20:34:18 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-06-07 20:34:18 -0400 |
commit | d171d07e2f26d17b3132aa6cd7093a264947f51f (patch) | |
tree | da9a5d8fa573538e097b12895ad866fea421708c | |
parent | bfdedb68ec96e910892cab53ca0b01c9129f56cf (diff) | |
download | scummvm-rg350-d171d07e2f26d17b3132aa6cd7093a264947f51f.tar.gz scummvm-rg350-d171d07e2f26d17b3132aa6cd7093a264947f51f.tar.bz2 scummvm-rg350-d171d07e2f26d17b3132aa6cd7093a264947f51f.zip |
SHERLOCK: Fix loadWalk checks against WALK_LIB_NAMES
-rw-r--r-- | engines/sherlock/people.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sherlock/people.cpp b/engines/sherlock/people.cpp index 65b52c55d5..9416ae9119 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; } |