aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authoruruk2014-07-09 12:51:03 +0200
committeruruk2014-07-09 12:51:03 +0200
commit3dc79442c9e1a92649f2a52b8e8ef0a9f890ae93 (patch)
tree0ea1b7ff783eb5f9554b84d7701ac05def2d0477 /engines
parent2f8abb06c34fa6ed418682a05da9a944789e4429 (diff)
downloadscummvm-rg350-3dc79442c9e1a92649f2a52b8e8ef0a9f890ae93.tar.gz
scummvm-rg350-3dc79442c9e1a92649f2a52b8e8ef0a9f890ae93.tar.bz2
scummvm-rg350-3dc79442c9e1a92649f2a52b8e8ef0a9f890ae93.zip
CGE2: Fix Sound::open().
Diffstat (limited to 'engines')
-rw-r--r--engines/cge2/sound.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/cge2/sound.cpp b/engines/cge2/sound.cpp
index a7815b7d05..b7b39d2722 100644
--- a/engines/cge2/sound.cpp
+++ b/engines/cge2/sound.cpp
@@ -61,7 +61,8 @@ void Sound::close() {
void Sound::open() {
setRepeat(1);
- _vm->checkSaySwitch();
+ if (_vm->_commandHandlerTurbo != nullptr)
+ _vm->checkSaySwitch();
play(_vm->_fx->load(99, 99));
}