summaryrefslogtreecommitdiff
path: root/src/pathfinder/pathfinder_type.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pathfinder/pathfinder_type.h')
-rw-r--r--src/pathfinder/pathfinder_type.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pathfinder/pathfinder_type.h b/src/pathfinder/pathfinder_type.h
index f837f4840..eb0381d8a 100644
--- a/src/pathfinder/pathfinder_type.h
+++ b/src/pathfinder/pathfinder_type.h
@@ -44,6 +44,9 @@ static const int YAPF_SHIP_PATH_CACHE_LENGTH = 32;
/** Maximum segments of road vehicle path cache */
static const int YAPF_ROADVEH_PATH_CACHE_SEGMENTS = 8;
+/** Distance from destination road stops to not cache any further */
+static const int YAPF_ROADVEH_PATH_CACHE_DESTINATION_LIMIT = 8;
+
/**
* Helper container to find a depot
*/