Translation needs to go the other way.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1255 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: Sprite.java,v 1.40 2002/04/15 23:10:23 mdb Exp $
|
// $Id: Sprite.java,v 1.41 2002/04/16 02:28:50 mdb Exp $
|
||||||
|
|
||||||
package com.threerings.media.sprite;
|
package com.threerings.media.sprite;
|
||||||
|
|
||||||
@@ -421,9 +421,10 @@ public abstract class Sprite
|
|||||||
{
|
{
|
||||||
if (_scrollsWithView) {
|
if (_scrollsWithView) {
|
||||||
// update our coordinates
|
// update our coordinates
|
||||||
_x += dx;
|
_x -= dx;
|
||||||
_y += dy;
|
_y -= dy;
|
||||||
_bounds.translate(dx, dy);
|
_bounds.x -= dx;
|
||||||
|
_bounds.y -= dy;
|
||||||
|
|
||||||
// and let any path that we're following know what's up
|
// and let any path that we're following know what's up
|
||||||
if (_path != null) {
|
if (_path != null) {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: LineSegmentPath.java,v 1.16 2002/04/15 23:09:10 mdb Exp $
|
// $Id: LineSegmentPath.java,v 1.17 2002/04/16 02:29:05 mdb Exp $
|
||||||
|
|
||||||
package com.threerings.media.sprite;
|
package com.threerings.media.sprite;
|
||||||
|
|
||||||
@@ -136,7 +136,8 @@ public class LineSegmentPath
|
|||||||
int ncount = _nodes.size();
|
int ncount = _nodes.size();
|
||||||
for (int ii = 0; ii < ncount; ii++) {
|
for (int ii = 0; ii < ncount; ii++) {
|
||||||
PathNode node = (PathNode)_nodes.get(ii);
|
PathNode node = (PathNode)_nodes.get(ii);
|
||||||
node.loc.translate(dx, dy);
|
node.loc.x -= dx;
|
||||||
|
node.loc.y -= dy;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user