aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2015-05-09 16:14:39 +0200
committerWillem Jan Palenstijn2015-05-09 16:14:39 +0200
commit8306451462e6ffa91ac3bf76e30b43f3777dbd89 (patch)
tree5889e9929b170788e94fae70a6b26caf8e5d04cc /engines
parentc85b14b402ef03757c0a5ab320d8c0ef6dba5483 (diff)
downloadscummvm-rg350-8306451462e6ffa91ac3bf76e30b43f3777dbd89.tar.gz
scummvm-rg350-8306451462e6ffa91ac3bf76e30b43f3777dbd89.tar.bz2
scummvm-rg350-8306451462e6ffa91ac3bf76e30b43f3777dbd89.zip
SHERLOCK: Fix string equality tests
Diffstat (limited to 'engines')
-rw-r--r--engines/sherlock/animation.cpp4
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;
}