aboutsummaryrefslogtreecommitdiff
path: root/sword2/speech.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sword2/speech.cpp')
-rw-r--r--sword2/speech.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sword2/speech.cpp b/sword2/speech.cpp
index 73bf3f917c..da073c73c8 100644
--- a/sword2/speech.cpp
+++ b/sword2/speech.cpp
@@ -1122,7 +1122,7 @@ int32 Logic::fnISpeak(int32 *params) {
// if speech is selected, and this line is allowed speech
// (not if it's an fx subtitle!)
- if (gui._speechSelected && WantSpeechForLine(officialTextNumber)) {
+ if (!g_sound->isSpeechMute() && WantSpeechForLine(officialTextNumber)) {
// if the wavId paramter is zero because not yet
// compiled into speech command, we can still get it
// from the 1st 2 chars of the text line