diff --git a/src/java/com/threerings/miso/client/util/AStarPathUtil.java b/src/java/com/threerings/miso/client/util/AStarPathUtil.java index 2e644623c..0eb1a2dd7 100644 --- a/src/java/com/threerings/miso/client/util/AStarPathUtil.java +++ b/src/java/com/threerings/miso/client/util/AStarPathUtil.java @@ -1,5 +1,5 @@ // -// $Id: AStarPathUtil.java,v 1.22 2003/01/15 21:27:41 shaper Exp $ +// $Id: AStarPathUtil.java,v 1.23 2003/01/15 21:43:33 mdb Exp $ package com.threerings.miso.scene.util; @@ -287,7 +287,7 @@ class AStarInfo // meander off the edge of the scene; note, however, that their // cost is prohibitively high such that normal on-screen paths // won't make use of off-screen tiles. oh, the hackery. - return (isCoordinateValid(x, y)) ? scene.canTraverse(trav, x, y) : true; + return !isCoordinateValid(x, y)) || scene.canTraverse(trav, x, y); } /**