aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/script_v2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/kyra/script_v2.cpp')
-rw-r--r--engines/kyra/script_v2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/script_v2.cpp b/engines/kyra/script_v2.cpp
index eed7339dd7..190177fcb1 100644
--- a/engines/kyra/script_v2.cpp
+++ b/engines/kyra/script_v2.cpp
@@ -760,7 +760,7 @@ int KyraEngine_v2::o2_zanthiaChat(ScriptState *script) {
int KyraEngine_v2::o2_isVoiceEnabled(ScriptState *script) {
debugC(3, kDebugLevelScriptFuncs, "o2_isVoiceEnabled(%p) ()", (const void *)script);
- return 1/*voiceEnabled()*/;
+ return speechEnabled() ? 1 : 0;
}
int KyraEngine_v2::o2_isVoicePlaying(ScriptState *script) {