Character sprite's location should take into account the origin of the action sequence it's set to.

git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@974 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
Mike Thomas
2010-08-10 23:44:21 +00:00
parent 85aca29ae6
commit e4bb6ac088
@@ -211,6 +211,9 @@ public class CharacterSprite extends Sprite
log.warning("Failed to obtain action frames [sprite=" + this +
", descrip=" + _descrip + ", action=" + _action + "].", e);
}
x = -actseq.origin.x;
y = -actseq.origin.y;
}
protected function updateMainSprite () :void