aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/sequences_lol.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2011-10-29 00:43:52 +0200
committerJohannes Schickel2011-10-29 01:00:18 +0200
commit951cb8ea71a6fc62fd9a247cbf407559e9935ec8 (patch)
tree78f0272c93f1a2c27449435851ffe92468013db2 /engines/kyra/sequences_lol.cpp
parent17883b913715f90c21f6831c1c0314bd46e2b55b (diff)
downloadscummvm-rg350-951cb8ea71a6fc62fd9a247cbf407559e9935ec8.tar.gz
scummvm-rg350-951cb8ea71a6fc62fd9a247cbf407559e9935ec8.tar.bz2
scummvm-rg350-951cb8ea71a6fc62fd9a247cbf407559e9935ec8.zip
KYRA: Get rid of Sound's voiceFileIsPresent in favor of isVoicePresent.
Diffstat (limited to 'engines/kyra/sequences_lol.cpp')
-rw-r--r--engines/kyra/sequences_lol.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/sequences_lol.cpp b/engines/kyra/sequences_lol.cpp
index 83d525d400..01db92c225 100644
--- a/engines/kyra/sequences_lol.cpp
+++ b/engines/kyra/sequences_lol.cpp
@@ -788,7 +788,7 @@ void HistoryPlayer::play() {
for (; voiceFilename[3] <= '9' && !_vm->shouldQuit() && !_vm->skipFlag(); ++voiceFilename[3], voiceFilename[4] = 'a') {
while (!_vm->shouldQuit() && !_vm->skipFlag()) {
- if (!sound->voiceFileIsPresent(voiceFilename))
+ if (!sound->isVoicePresent(voiceFilename))
break;
if (data[part * 15] == voiceFilename[3] && data[part * 15 + 1] == voiceFilename[4]) {