/Engine/Source/Runtime/AIModule/Public/GraphAStar.h
Set to false if you don't want to lose performance on range checks in performance-critical pathfinding code.
enum { RequireRangeCheck = DoRangeCheck }