[Scummvm-cvs-logs] scummvm master -> 6ab3857597980e9f525354557d247b1dbb2c144a

dreammaster dreammaster at scummvm.org
Sun Jun 14 21:54:05 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:
6ab3857597 SHERLOCK: RT: Fix loading of _altImages when necessary


Commit: 6ab3857597980e9f525354557d247b1dbb2c144a
    https://github.com/scummvm/scummvm/commit/6ab3857597980e9f525354557d247b1dbb2c144a
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2015-06-14T15:53:03-04:00

Commit Message:
SHERLOCK: RT: Fix loading of _altImages when necessary

Changed paths:
    engines/sherlock/tattoo/tattoo_people.cpp



diff --git a/engines/sherlock/tattoo/tattoo_people.cpp b/engines/sherlock/tattoo/tattoo_people.cpp
index 72abdc3..80f2484 100644
--- a/engines/sherlock/tattoo/tattoo_people.cpp
+++ b/engines/sherlock/tattoo/tattoo_people.cpp
@@ -558,7 +558,7 @@ void TattooPerson::checkWalkGraphics() {
 
 		if (npcNum != -1) {
 			// See if the VGS file called for is different than the main graphics which are already loaded
-			if (!filename.compareToIgnoreCase(people[npcNum]._walkVGSName)) {
+			if (filename.compareToIgnoreCase(people[npcNum]._walkVGSName) != 0) {
 				// See if this is one of the more used Walk Graphics stored in WALK.LIB
 				for (int idx = 0; idx < NUM_IN_WALK_LIB; ++idx) {
 					if (!scumm_stricmp(filename.c_str(), WALK_LIB_NAMES[idx])) {






More information about the Scummvm-git-logs mailing list