From 4bab50a23eb66c69d37dbe548961cc5a84a408df Mon Sep 17 00:00:00 2001 From: Peter Nelson Date: Thu, 4 Sep 2025 22:11:02 +0100 Subject: [PATCH] Fix #14586, Fix 069ff846e4: Empty station tile layouts incorrectly substituted with default layouts. (#14587) It is no longer possible for a layout to be missing, so the nullptr check should have been removed. --- src/station_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp index 0dc0158eb0..cd59fed02d 100644 --- a/src/station_cmd.cpp +++ b/src/station_cmd.cpp @@ -3316,7 +3316,7 @@ static void DrawTile_Station(TileInfo *ti) palette = PALETTE_TO_GREY; } - if (layout == nullptr && (t == nullptr || t->GetSequence().empty())) t = GetStationTileLayout(GetStationType(ti->tile), gfx); + if (layout == nullptr && t == nullptr) t = GetStationTileLayout(GetStationType(ti->tile), gfx); /* don't show foundation for docks */ if (ti->tileh != SLOPE_FLAT && !IsDock(ti->tile)) {