From c15cce58484daa2b4489bacad7b63aa5307eeb51 Mon Sep 17 00:00:00 2001 From: dP Date: Tue, 14 Jul 2020 02:13:46 +0300 Subject: [PATCH] Show area selection red when removing stations --- src/citymania/highlight.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/citymania/highlight.cpp b/src/citymania/highlight.cpp index 21787bf54a..4e350e6815 100644 --- a/src/citymania/highlight.cpp +++ b/src/citymania/highlight.cpp @@ -161,6 +161,7 @@ static void SetStationSelectionHighlight(const TileInfo *ti, TileHighlight &th) }); const SpriteID pal[] = {SPR_PALETTE_ZONING_RED, SPR_PALETTE_ZONING_YELLOW, SPR_PALETTE_ZONING_LIGHT_BLUE, SPR_PALETTE_ZONING_GREEN}; auto color = pal[(int)_station_building_status]; + if (_thd.make_square_red) color = SPR_PALETTE_ZONING_RED; if (b.first != ZoningBorder::NONE) th.add_border(b.first, color); if (IsInsideSelectedRectangle(TileX(ti->tile) * TILE_SIZE, TileY(ti->tile) * TILE_SIZE)) {