Bug fix to the any angle path

a one line fix...
A little type (using current tile instead of prevTile) caused the new raycast (with costs) to spew bad results and the any angle path to sometimes fail.