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:
@@ -913,9 +913,9 @@ public class SoundManager
|
|||||||
}
|
}
|
||||||
|
|
||||||
// documentation inherited from interface Frob
|
// 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
|
// documentation inherited from interface Frob
|
||||||
|
|||||||
Reference in New Issue
Block a user