diff options
| author | Willem Jan Palenstijn | 2015-05-09 16:14:39 +0200 | 
|---|---|---|
| committer | Willem Jan Palenstijn | 2015-05-09 16:14:39 +0200 | 
| commit | 8306451462e6ffa91ac3bf76e30b43f3777dbd89 (patch) | |
| tree | 5889e9929b170788e94fae70a6b26caf8e5d04cc | |
| parent | c85b14b402ef03757c0a5ab320d8c0ef6dba5483 (diff) | |
| download | scummvm-rg350-8306451462e6ffa91ac3bf76e30b43f3777dbd89.tar.gz scummvm-rg350-8306451462e6ffa91ac3bf76e30b43f3777dbd89.tar.bz2 scummvm-rg350-8306451462e6ffa91ac3bf76e30b43f3777dbd89.zip | |
SHERLOCK: Fix string equality tests
| -rw-r--r-- | engines/sherlock/animation.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/engines/sherlock/animation.cpp b/engines/sherlock/animation.cpp index ced03e8a49..299a8186d7 100644 --- a/engines/sherlock/animation.cpp +++ b/engines/sherlock/animation.cpp @@ -179,14 +179,14 @@ const int *Animation::checkForSoundFrames(const Common::String &filename) {  	if (_vm->_soundOverride.empty()) {  		for (int idx = 0; idx < PROLOGUE_NAMES_COUNT; ++idx) { -			if (!filename.equalsIgnoreCase(PROLOGUE_NAMES[idx])) { +			if (filename.equalsIgnoreCase(PROLOGUE_NAMES[idx])) {  				frames = &PROLOGUE_FRAMES[idx][0];  				break;  			}  		}  	} else {  		for (int idx = 0; idx < TITLE_NAMES_COUNT; ++idx) { -			if (!filename.equalsIgnoreCase(TITLE_NAMES[idx])) { +			if (filename.equalsIgnoreCase(TITLE_NAMES[idx])) {  				frames = &TITLE_FRAMES[idx][0];  				break;  			} | 
