aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/script/script_hof.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/kyra/script/script_hof.cpp')
-rw-r--r--engines/kyra/script/script_hof.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/kyra/script/script_hof.cpp b/engines/kyra/script/script_hof.cpp
index 94d3a82cc4..ebc10c277a 100644
--- a/engines/kyra/script/script_hof.cpp
+++ b/engines/kyra/script/script_hof.cpp
@@ -817,8 +817,8 @@ int KyraEngine_HoF::o2_showLetter(EMCState *script) {
int KyraEngine_HoF::o2_playFireflyScore(EMCState *script) {
debugC(3, kDebugLevelScriptFuncs, "KyraEngine_HoF::o2_playFireflyScore(%p) ()", (const void *)script);
- if (_sound->getSfxType() == Sound::kAdLib || _sound->getSfxType() == Sound::kPCSpkr ||
- _sound->getSfxType() == Sound::kMidiMT32 || _sound->getSfxType() == Sound::kMidiGM) {
+ if ((_sound->getSfxType() == Sound::kAdLib || _sound->getSfxType() == Sound::kPCSpkr || _sound->getSfxType() == Sound::kMidiMT32 ||
+ _sound->getSfxType() == Sound::kMidiGM) && !_sound->useDigitalSfx()) {
snd_playWanderScoreViaMap(86, 1);
return 1;
} else {