now checks base.wantSfx instead of base.wantAnySound

This commit is contained in:
Darren Ranalli
2001-08-04 02:59:08 +00:00
parent 4eba3be9bd
commit 3e56a95e54

View File

@@ -27,7 +27,7 @@ class SoundInterval(Interval):
# Record instance variables
self.sound = sound
self.loop = loop
self.wantSound = base.wantAnySound
self.wantSound = base.wantSfx
# If no duration given use sound's duration as interval's duration
if duration == 0.0:
if self.wantSound: