Quote:
Originally Posted by salesman
Keep in mind this searches tile-by tile, and doesn't take into account that a straight line to the target might be the quickest approach (like if there's no walls)...might be something else you could add.
|
Using onwallpath() could fix that.