Fixed bug with setting pan.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3975 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2006-03-24 22:19:16 +00:00
parent 9f4c7c1ae2
commit 02f1aaa904
@@ -913,9 +913,9 @@ public class SoundManager
}
// documentation inherited from interface Frob
public void setPan (float pan)
public void setPan (float newPan)
{
pan = Math.max(-1f, Math.min(1f, pan));
pan = Math.max(-1f, Math.min(1f, newPan));
}
// documentation inherited from interface Frob