diff options
Diffstat (limited to 'sky/sound.cpp')
-rw-r--r-- | sky/sound.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sky/sound.cpp b/sky/sound.cpp index ab7a866a63..b44cbc2fa8 100644 --- a/sky/sound.cpp +++ b/sky/sound.cpp @@ -1101,7 +1101,7 @@ void SkySound::fnPauseFx(void) { } bool SkySound::fnStartFx(uint32 sound) { - if (sound < 256 || sound > MAX_FX_NUMBER || _sfxPaused) + if (sound < 256 || sound > MAX_FX_NUMBER || _sfxPaused || (SkyState::_systemVars.systemFlags & SF_FX_OFF)) return true; uint8 screen = (uint8)(SkyLogic::_scriptVariables[SCREEN] & 0xff); |