From d0e0d3740a1816be35fc09e54fd4fb0f08bfbefd Mon Sep 17 00:00:00 2001 From: dP Date: Sun, 21 Dec 2025 04:53:24 +0500 Subject: [PATCH] Fix compilation error --- src/citymania/cm_station_gui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/citymania/cm_station_gui.cpp b/src/citymania/cm_station_gui.cpp index 955442fdf4..2122b670da 100644 --- a/src/citymania/cm_station_gui.cpp +++ b/src/citymania/cm_station_gui.cpp @@ -1558,8 +1558,8 @@ std::optional AirportBuildTool::SizedPlacementAction::GetObject if (ac == nullptr) return std::nullopt; auto as = ac->GetSpec(_selected_airport_index); if (as == nullptr) return std::nullopt; - byte airport_type = as->GetIndex(); - byte layout = _selected_airport_layout; + auto airport_type = as->GetIndex(); + auto layout = _selected_airport_layout; return ObjectHighlight::make_airport(tile, airport_type, layout); }