From d95e758bc28ca0ee95be94812d26927c4e72f498 Mon Sep 17 00:00:00 2001 From: dP Date: Sun, 14 Dec 2025 17:24:27 +0500 Subject: [PATCH] Don't show production of the hidden industries on a minimap --- src/citymania/cm_minimap.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/citymania/cm_minimap.cpp b/src/citymania/cm_minimap.cpp index ffd152e43f..bfda61f0f4 100644 --- a/src/citymania/cm_minimap.cpp +++ b/src/citymania/cm_minimap.cpp @@ -1030,6 +1030,7 @@ void SmallMapWindow::DrawIndustryProduction(const DrawPixelInfo *dpi) const [this] (auto &e) { auto ind = Industry::GetIfValid(e.index); if (ind == nullptr) return; + if (!_legend_from_industries[_industry_to_list_pos[ind->type]].show_on_map) return; auto pt = this->TileToPixel( TileX(ind->location.tile) * TILE_SIZE + ind->location.w * TILE_SIZE / 2, TileY(ind->location.tile) * TILE_SIZE + ind->location.h * TILE_SIZE / 2