aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/sound_lol.cpp
diff options
context:
space:
mode:
authorFlorian Kagerer2009-06-01 01:24:17 +0000
committerFlorian Kagerer2009-06-01 01:24:17 +0000
commit83dbcf8531c7703e3024a45e76c3794fa2327b79 (patch)
tree68e3473031b97d9f1930c266a2235eb218bba27f /engines/kyra/sound_lol.cpp
parent60d53c3cce179ab08649fb78a93ca7118f364869 (diff)
downloadscummvm-rg350-83dbcf8531c7703e3024a45e76c3794fa2327b79.tar.gz
scummvm-rg350-83dbcf8531c7703e3024a45e76c3794fa2327b79.tar.bz2
scummvm-rg350-83dbcf8531c7703e3024a45e76c3794fa2327b79.zip
LOL: some more opcodes and some minor bug fixes
svn-id: r41092
Diffstat (limited to 'engines/kyra/sound_lol.cpp')
-rw-r--r--engines/kyra/sound_lol.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/sound_lol.cpp b/engines/kyra/sound_lol.cpp
index 4247596399..a14df2090a 100644
--- a/engines/kyra/sound_lol.cpp
+++ b/engines/kyra/sound_lol.cpp
@@ -79,7 +79,7 @@ bool LoLEngine::snd_playCharacterSpeech(int id, int8 speaker, int) {
snprintf(file2, sizeof(file2), "%s%c%c.%s", pattern1, '_', symbol, pattern2);
if (_sound->isVoicePresent(file1))
newSpeechList.push_back(_sound->getVoiceStream(file1));
- if (_sound->isVoicePresent(file2))
+ else if (_sound->isVoicePresent(file2))
newSpeechList.push_back(_sound->getVoiceStream(file2));
else
break;