mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-05 18:41:12 +00:00
Fixproblem of fotaq attempting to play sfx as music, when sfx are disabled.
svn-id: r11623
This commit is contained in:
parent
7efafcca53
commit
6f2217dcb2
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user