X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fsound.c;h=8938750c5b6d490b009fa0765d03c7624f0899da;hb=2357c391b4a587709627cc30316734b3c83c8134;hp=9ceeffcddc8bb6cc665a32d6dd5edc4bb977d399;hpb=0a52f54d2f6ab7dce8062c7738ede185ba5acad3;p=rocksndiamonds.git diff --git a/src/sound.c b/src/sound.c index 9ceeffcd..8938750c 100644 --- a/src/sound.c +++ b/src/sound.c @@ -738,7 +738,7 @@ void PlaySoundExt(int nr, int volume, int stereo, boolean loop) { struct SoundControl snd_ctrl = emptySoundControl; - if (sound_status==SOUND_OFF || !setup.sound_on) + if (sound_status==SOUND_OFF || !setup.sound) return; if (volume