# HG changeset patch # User Jonathan G Rennison # Date 2024-01-09 17:10:50 # Node ID f4fb4f7bb336eec262fcb01f853ac7be5a797e2d # Parent 4267927a67adcfdb11fb7b5accc1666df5f975e7 Cleanup: Remove unused constant YAPF_SHIP_PATH_CACHE_LENGTH diff --git a/src/pathfinder/pathfinder_type.h b/src/pathfinder/pathfinder_type.h --- a/src/pathfinder/pathfinder_type.h +++ b/src/pathfinder/pathfinder_type.h @@ -39,9 +39,6 @@ static const int YAPF_TILE_CORNER_LENGTH */ static const int YAPF_INFINITE_PENALTY = 1000 * YAPF_TILE_LENGTH; -/** Maximum length of ship path cache */ -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;