diff options
author | frosch <frosch@openttd.org> | 2013-10-28 10:55:34 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2013-10-28 10:55:34 +0000 |
commit | 12b30103b1341fc20389df4c40bd8b34b4b2be3d (patch) | |
tree | 0b0569109b8520d4aaff60646d9cc7cca0035461 /src/town_gui.cpp | |
parent | 7480a00ce03e5cbedf5c1cda4ad2780d65d1f3f6 (diff) | |
download | openttd-12b30103b1341fc20389df4c40bd8b34b4b2be3d.tar.xz |
(svn r25922) -Codechange: Rename TOWN_IS_FUNDED to TOWN_IS_GROWING. It is not tied to funding a town.
Diffstat (limited to 'src/town_gui.cpp')
-rw-r--r-- | src/town_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/town_gui.cpp b/src/town_gui.cpp index 1ac6fd4f9..a36919ad9 100644 --- a/src/town_gui.cpp +++ b/src/town_gui.cpp @@ -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 { |