allow want-sound to turn off music and sfx too

This commit is contained in:
David Rose 2001-07-12 15:41:44 +00:00
parent f58343b852
commit 208787c6a4

View File

@ -40,6 +40,9 @@ class ShowBase:
self.wantMusic = self.config.GetBool('audio-music-active', 1)
if not (self.wantSfx or self.wantMusic):
self.wantAnySound = None
if not self.wantAnySound:
self.wantSfx = None
self.wantMusic = None
self.wantDIRECT = self.config.GetBool('want-directtools', 0)
self.wantStats = self.config.GetBool('want-stats', 0)