Use setPan() in the SoundKey constructor so that we bound to sanity the
pan value passed to us. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3974 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -885,8 +885,8 @@ public class SoundManager
|
||||
this(cmd, pkgPath, key);
|
||||
|
||||
stamp = System.currentTimeMillis() + delay;
|
||||
this.volume = volume;
|
||||
this.pan = pan;
|
||||
setVolume(volume);
|
||||
setPan(pan);
|
||||
}
|
||||
|
||||
// documentation inherited from interface Frob
|
||||
|
||||
Reference in New Issue
Block a user