(svn r25922) -Codechange: Rename TOWN_IS_FUNDED to TOWN_IS_GROWING. It is not tied to funding a town.

This commit is contained in:
frosch
2013-10-28 10:55:34 +00:00
parent 7480a00ce0
commit 12b30103b1
3 changed files with 8 additions and 8 deletions

View File

@@ -388,7 +388,7 @@ public:
DrawString(cargo_text_left, cargo_text_right, y += FONT_HEIGHT_NORMAL, string);
}
if (HasBit(this->town->flags, TOWN_IS_FUNDED)) {
if (HasBit(this->town->flags, TOWN_IS_GROWING)) {
SetDParam(0, ((this->town->growth_rate & (~TOWN_GROW_RATE_CUSTOM)) * TOWN_GROWTH_TICKS + DAY_TICKS) / DAY_TICKS);
DrawString(r.left + WD_FRAMERECT_LEFT, r.right - WD_FRAMERECT_LEFT, y += FONT_HEIGHT_NORMAL, this->town->fund_buildings_months == 0 ? STR_TOWN_VIEW_TOWN_GROWS_EVERY : STR_TOWN_VIEW_TOWN_GROWS_EVERY_FUNDED);
} else {