Long range pathfinder cleanup
commit8d97c10cf77b0f2779d96427557eb931415cbf0b
authorwraitii <wraitii@3db68df2-c116-0410-a063-a993310a9797>
Sun, 10 Dec 2017 14:23:16 +0000 (10 14:23 +0000)
committerwraitii <wraitii@3db68df2-c116-0410-a063-a993310a9797>
Sun, 10 Dec 2017 14:23:16 +0000 (10 14:23 +0000)
treed50fb24158487f13e22f3c3c220809b8411fda9e
parent0790a2eca23d6b8fce10a8887b44d3f621b7b368
Long range pathfinder cleanup

Remove ACCEPT_DIAGONAL_GAPS as it was unused and will not be used in the future.
Use PASSABLE macro everywhere.
Simplify considerable OnTheWay as MakeGoalReachable returns a point goal.

This doubles as a very slight optimisation, on the order of microseconds per call.

Reviewed By: temple

Differential Revision: https://code.wildfiregames.com/D80

git-svn-id: https://svn.wildfiregames.com/public/ps/trunk@20634 3db68df2-c116-0410-a063-a993310a9797
source/simulation2/helpers/LongPathfinder.cpp
source/simulation2/helpers/LongPathfinder.h