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:
@@ -411,7 +411,9 @@ public class MisoScenePanel extends Sprite
|
|||||||
int(Math.round(sprite.y)), x, y, loose);
|
int(Math.round(sprite.y)), x, y, loose);
|
||||||
|
|
||||||
// Replace the starting point with the Number values rather than the rounded version...
|
// 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;
|
var duration :int = getTimer() - start;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user