Added support for MovieAudio to loadSfx

This commit is contained in:
Josh Yelon 2008-04-24 02:03:18 +00:00
parent 2fc0965ec2
commit a640847f8f

View File

@ -427,6 +427,9 @@ class Loader(DirectObject):
# We were given a single sound pathname.
soundList = [soundPath]
gotList = False
elif isinstance(soundPath, MovieAudio):
soundList = [soundPath]
gotList = False
else:
# Assume we were given a list of sound pathnames.
soundList = soundPath