now whines when filepath is invalid

This commit is contained in:
Brian Matzon 2003-12-27 02:38:18 +00:00
parent 3d6dde5df6
commit 7b759d32db
1 changed files with 1 additions and 0 deletions

View File

@ -95,6 +95,7 @@ public class WaveData {
AudioSystem.getAudioInputStream(
new BufferedInputStream(WaveData.class.getClassLoader().getResourceAsStream(filepath))));
} catch (Exception e) {
org.lwjgl.Sys.log("Unable to load file: " + filepath);
e.printStackTrace();
return null;
}