fixed a log thing

This commit is contained in:
Ziver Koc 2007-03-16 19:17:30 +00:00
parent 635d756429
commit 67583d10be

View file

@ -90,8 +90,8 @@ public class SoundLoader {
if (soundsEnabled && buffer >= 0) {
int sourceId = getAvailableSource();
if(sourceId >= 0){
MultiPrintStream.out.println("Playing sound: source="+sourceId+" buffer="+buffer);
stopSound(sourceId);
MultiPrintStream.out.println("Playing sound: source="+sourceId+" buffer="+buffer);
AL10.alSourcei(sources.get(sourceId), AL10.AL_BUFFER, buffer);
AL10.alSourcef(sources.get(sourceId), AL10.AL_PITCH, 1.0f);