diff options
Diffstat (limited to 'queen/sound.cpp')
-rw-r--r-- | queen/sound.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/queen/sound.cpp b/queen/sound.cpp index 397891248d..113627b6a2 100644 --- a/queen/sound.cpp +++ b/queen/sound.cpp @@ -143,8 +143,9 @@ void Sound::playSong(int16 songNum) { int16 newTune = _song[songNum - 1].tuneList[0]; - if (_tune[newTune - 1].sfx[0] && sfxOn()) { - sfxPlay(_sfxName[_tune[newTune - 1].sfx[0] - 1]); + if (_tune[newTune - 1].sfx[0]) { + if (sfxOn()) + sfxPlay(_sfxName[_tune[newTune - 1].sfx[0] - 1]); return; } |