aboutsummaryrefslogtreecommitdiff
path: root/engines/dreamweb/sound.cpp
diff options
context:
space:
mode:
authorD G Turner2012-05-08 16:48:01 +0100
committerD G Turner2012-05-08 16:48:01 +0100
commit0cff5c547c4051f920fde17f772bad4634895be9 (patch)
tree97cbb57a54234954b796f4b7b0ef8399c6cb0481 /engines/dreamweb/sound.cpp
parent4161d83cba5ab549b46fe993bda84464d1dbfe5a (diff)
downloadscummvm-rg350-0cff5c547c4051f920fde17f772bad4634895be9.tar.gz
scummvm-rg350-0cff5c547c4051f920fde17f772bad4634895be9.tar.bz2
scummvm-rg350-0cff5c547c4051f920fde17f772bad4634895be9.zip
DREAMWEB: Add _speechDirName to remove duplication of Directory name.
Diffstat (limited to 'engines/dreamweb/sound.cpp')
-rw-r--r--engines/dreamweb/sound.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/dreamweb/sound.cpp b/engines/dreamweb/sound.cpp
index b51527a8cd..800936e8e8 100644
--- a/engines/dreamweb/sound.cpp
+++ b/engines/dreamweb/sound.cpp
@@ -177,7 +177,7 @@ bool DreamWebEngine::loadSpeech(const Common::String &filename) {
return false;
Common::File file;
- if (!file.open("speech/" + filename))
+ if (!file.open(_speechDirName + "/" + filename))
return false;
debug(1, "loadSpeech(%s)", filename.c_str());