aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/animation.cpp
diff options
context:
space:
mode:
authorStrangerke2015-05-05 07:00:24 +0200
committerStrangerke2015-05-05 07:00:24 +0200
commit0c12b85d4b67b022b227774db0cd531cf20d528e (patch)
tree1c5ef8248ca86562f2fbe2af487f2f49d1f72acb /engines/sherlock/animation.cpp
parent034e1384aad1ed91bb8879cded8e0247ae6f9000 (diff)
downloadscummvm-rg350-0c12b85d4b67b022b227774db0cd531cf20d528e.tar.gz
scummvm-rg350-0c12b85d4b67b022b227774db0cd531cf20d528e.tar.bz2
scummvm-rg350-0c12b85d4b67b022b227774db0cd531cf20d528e.zip
SHERLOCK: Fix checkForSoundFrames, add some warning TODOs
Diffstat (limited to 'engines/sherlock/animation.cpp')
-rw-r--r--engines/sherlock/animation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sherlock/animation.cpp b/engines/sherlock/animation.cpp
index aea4793a76..b1ec6590b1 100644
--- a/engines/sherlock/animation.cpp
+++ b/engines/sherlock/animation.cpp
@@ -182,7 +182,7 @@ bool Animation::play(const Common::String &filename, int minDelay, int fade,
const int *Animation::checkForSoundFrames(const Common::String &filename) {
const int *frames = &NO_FRAMES;
- if (!_vm->_soundOverride.empty()) {
+ if (_vm->_soundOverride.empty()) {
for (int idx = 0; idx < PROLOGUE_NAMES_COUNT; ++idx) {
if (!scumm_stricmp(filename.c_str(), PROLOGUE_NAMES[idx])) {
frames = &PROLOGUE_FRAMES[idx][0];