This needs to respect sprite offset.

git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@285 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
Mike Thomas
2007-08-22 22:22:59 +00:00
parent e003d97535
commit 9d73fe0587
@@ -70,7 +70,7 @@ public class AnimationSprite extends Sprite
// documentation inherited.
public void setLocation (int x, int y)
{
_anim.setLocation(x, y);
_anim.setLocation(x - _oxoff, y - _oyoff);
super.setLocation(x, y);
}