diff options
Diffstat (limited to 'sky/sound.cpp')
-rw-r--r-- | sky/sound.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sky/sound.cpp b/sky/sound.cpp index b44cbc2fa8..8eed6c863b 100644 --- a/sky/sound.cpp +++ b/sky/sound.cpp @@ -1148,6 +1148,8 @@ bool SkySound::fnStartFx(uint32 sound) { bool SkySound::startSpeech(uint16 textNum) { + if (!(SkyState::_systemVars.systemFlags & SF_ALLOW_SPEECH)) + return false; uint16 speechFileNum = _speechConvertTable[textNum >> 12] + (textNum & 0xFFF); uint8 *speechData = _skyDisk->loadFile(speechFileNum + 50000, NULL); |