adjustment

This commit is contained in:
Cary Sandvig 2001-05-03 23:09:38 +00:00
parent adfff753dd
commit bcbb805744
1 changed files with 6 additions and 8 deletions

View File

@ -38,21 +38,19 @@ def setDefaultDrawOrder(newDrawOrder):
def getDefaultRolloverSound():
global sndRollover
if not base.wantSfx:
return None
if sndRollover == None:
sndRollover = base.loadSfx("phase_3/audio/sfx/GUI_rollover.mp3")
if base.wantSfx:
return sndRollover
else:
return None
return sndRollover
def getDefaultClickSound():
global sndClick
if not base.wantSfx:
return None
if sndClick == None:
sndClick = base.loadSfx("phase_3/audio/sfx/GUI_create_toon_fwd.mp3")
if base.wantSfx:
return sndClick
else:
return None
return sndClick
def getNewRolloverFunctor(sound = None):
val = None