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:
Ray Greenwell
2006-03-24 04:12:38 +00:00
parent 6ab61243d9
commit 9f4c7c1ae2
@@ -885,8 +885,8 @@ public class SoundManager
this(cmd, pkgPath, key); this(cmd, pkgPath, key);
stamp = System.currentTimeMillis() + delay; stamp = System.currentTimeMillis() + delay;
this.volume = volume; setVolume(volume);
this.pan = pan; setPan(pan);
} }
// documentation inherited from interface Frob // documentation inherited from interface Frob