We love to do it with logic!
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2163 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user