Mercurial > hg > openttd
changeset 18630:0a134b29df46 draft
(svn r23477) -Fix [FS#4878] (r23300): like r23342, but now for the user interface ;)
author | rubidium <rubidium@openttd.org> |
---|---|
date | Sat, 10 Dec 2011 15:41:39 +0000 |
parents | a55c2ad0bf2c |
children | 6e3c0492d7b0 |
files | src/town_gui.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/town_gui.cpp +++ b/src/town_gui.cpp @@ -386,7 +386,7 @@ if (this->town->goal[i] == TOWN_GROWTH_DESERT || this->town->goal[i] == TOWN_GROWTH_WINTER) { /* For 'original' gameplay, don't show the amount required (you need 1 or more ..) */ string = STR_TOWN_VIEW_CARGO_FOR_TOWNGROWTH_DELIVERED_GENERAL; - if (this->town->received[i].old_act < this->town->goal[i]) { + if (this->town->received[i].old_act == 0) { string = STR_TOWN_VIEW_CARGO_FOR_TOWNGROWTH_REQUIRED_GENERAL; if (this->town->goal[i] == TOWN_GROWTH_WINTER && TileHeight(this->town->xy) < GetSnowLine()) {