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:
@@ -70,7 +70,7 @@ public class AnimationSprite extends Sprite
|
|||||||
// documentation inherited.
|
// documentation inherited.
|
||||||
public void setLocation (int x, int y)
|
public void setLocation (int x, int y)
|
||||||
{
|
{
|
||||||
_anim.setLocation(x, y);
|
_anim.setLocation(x - _oxoff, y - _oyoff);
|
||||||
super.setLocation(x, y);
|
super.setLocation(x, y);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user