summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-12-10 15:41:39 +0000
committerrubidium <rubidium@openttd.org>2011-12-10 15:41:39 +0000
commit7bb4a0b825f141e56541dbb7bd25787676125629 (patch)
treed63876b8f5cea24d5289f3de3516af1bc5571c8e /src
parent2bf0fc3c5c4be7fa497db0924296ef43d2f3b95e (diff)
downloadopenttd-7bb4a0b825f141e56541dbb7bd25787676125629.tar.xz
(svn r23477) -Fix [FS#4878] (r23300): like r23342, but now for the user interface ;)
Diffstat (limited to 'src')
-rw-r--r--src/town_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/town_gui.cpp b/src/town_gui.cpp
index 50ecce2de..e6a95fdfa 100644
--- a/src/town_gui.cpp
+++ b/src/town_gui.cpp
@@ -386,7 +386,7 @@ public:
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()) {