Show town population instead of the name in IMBA minimap mode

This commit is contained in:
dP
2021-10-10 00:13:42 +03:00
parent f1f6bea47d
commit 117203ff8b
5 changed files with 101 additions and 14 deletions

View File

@@ -971,7 +971,7 @@ void SmallMapWindow::DrawTowns(const DrawPixelInfo *dpi) const
y < dpi->top + dpi->height) {
/* And draw it. */
SetDParam(0, t->index);
DrawString(x, x + t->cache.sign.width_small, y, t->larger_town ? STR_SMALLMAP_TOWN_LARGE : STR_SMALLMAP_TOWN);
DrawString(x, x + t->cache.sign.width_small, y, STR_SMALLMAP_TOWN);
}
}
}