From 2aa2b340eb4f68edef19917eaf5cc86b3e63683a Mon Sep 17 00:00:00 2001 From: Peter Nelson Date: Mon, 1 Jun 2026 19:30:31 +0100 Subject: [PATCH] Codefix: use correct type for array holding Trackdirs (#15658) --- src/road_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/road_cmd.cpp b/src/road_cmd.cpp index da0cd70239..e31edbac4d 100644 --- a/src/road_cmd.cpp +++ b/src/road_cmd.cpp @@ -2286,7 +2286,7 @@ static void GetTileDesc_Road(TileIndex tile, TileDesc &td) * Given the direction the road depot is pointing, this is the direction the * vehicle should be travelling in in order to enter the depot. */ -static constexpr DiagDirectionIndexArray _roadveh_enter_depot_dir{ +static constexpr DiagDirectionIndexArray _roadveh_enter_depot_dir{ TRACKDIR_X_SW, TRACKDIR_Y_NW, TRACKDIR_X_NE, TRACKDIR_Y_SE };