Import town rating label patch

http://www.tt-forums.net/viewtopic.php?p=1118282#p1118282
This commit is contained in:
patch-import
2015-08-06 00:19:35 +01:00
committed by Jonathan G Rennison
parent 67f3c2a764
commit 33d395ad59
5 changed files with 65 additions and 5 deletions

View File

@@ -1156,8 +1156,7 @@ static void ViewportAddTownNames(DrawPixelInfo *dpi)
const Town *t;
FOR_ALL_TOWNS(t) {
ViewportAddString(dpi, ZOOM_LVL_OUT_16X, &t->cache.sign,
_settings_client.gui.population_in_label ? STR_VIEWPORT_TOWN_POP : STR_VIEWPORT_TOWN,
STR_VIEWPORT_TOWN_TINY_WHITE, STR_VIEWPORT_TOWN_TINY_BLACK,
t->Label(), t->SmallLabel(), STR_VIEWPORT_TOWN_TINY_BLACK,
t->index, t->cache.population);
}
}