From 8cd552fd66ee942653db09d1f94f5ba6bcb626ad Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Sun, 26 May 2019 02:24:42 +0100 Subject: [PATCH] Increase YAPF road vehicle path cache to 16 segments --- src/pathfinder/pathfinder_type.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pathfinder/pathfinder_type.h b/src/pathfinder/pathfinder_type.h index 3740d03902..c2d3fa5b15 100644 --- a/src/pathfinder/pathfinder_type.h +++ b/src/pathfinder/pathfinder_type.h @@ -44,7 +44,7 @@ static const int YAPF_INFINITE_PENALTY = 1000 * YAPF_TILE_LENGTH; 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; +static const int YAPF_ROADVEH_PATH_CACHE_SEGMENTS = 16; /** * Helper container to find a depot