Fix NPE when the user clicks an untraversable square.

git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@983 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
Mike Thomas
2010-08-13 21:03:19 +00:00
parent 3b0b6038dc
commit 954619820e
@@ -411,7 +411,9 @@ public class MisoScenePanel extends Sprite
int(Math.round(sprite.y)), x, y, loose);
// Replace the starting point with the Number values rather than the rounded version...
points[0] = new Point(sprite.x, sprite.y);
if (points != null) {
points[0] = new Point(sprite.x, sprite.y);
}
var duration :int = getTimer() - start;