bugfix
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1992 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: SoundManager.java,v 1.29 2002/11/26 02:39:40 ray Exp $
|
// $Id: SoundManager.java,v 1.30 2002/11/26 02:46:52 ray Exp $
|
||||||
|
|
||||||
package com.threerings.media;
|
package com.threerings.media;
|
||||||
|
|
||||||
@@ -632,7 +632,7 @@ public class SoundManager
|
|||||||
return name.startsWith(namePrefix);
|
return name.startsWith(namePrefix);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
if (list != null) {
|
if ((list != null) && (list.length > 0)) {
|
||||||
try {
|
try {
|
||||||
return new FileInputStream(list[0]);
|
return new FileInputStream(list[0]);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user