X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fsound.c;h=8938750c5b6d490b009fa0765d03c7624f0899da;hb=39ea277283e3a9c633240733d553f1f1eec66f3c;hp=9ceeffcddc8bb6cc665a32d6dd5edc4bb977d399;hpb=c4b26cf489dcc65a00bfcc05f7898700d2f0c9e4;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