summaryrefslogtreecommitdiff
path: root/economy.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-02-06 07:49:41 +0000
committertron <tron@openttd.org>2005-02-06 07:49:41 +0000
commit0b8876e946b3a9b38b57d9688512cb7a54148720 (patch)
treec4fa332cdd75e708fd8b47186b7db4121798338d /economy.c
parentccb80ab09d000b5320d57d3254cc4937c3dfe26f (diff)
downloadopenttd-0b8876e946b3a9b38b57d9688512cb7a54148720.tar.xz
(svn r1812) [1117058] Use CT_WATER instead of CT_STEEL when accounting water which gets delivered to a town (worked because CT_STEEL and CT_WATER share the same enum number)
Diffstat (limited to 'economy.c')
-rw-r--r--economy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/economy.c b/economy.c
index 7513fe8a4..c42fdfaa2 100644
--- a/economy.c
+++ b/economy.c
@@ -1234,7 +1234,7 @@ static int32 DeliverGoods(int num_pieces, byte cargo_type, uint16 source, uint16
{
Town *t = s_to->town;
if (cargo_type == CT_FOOD) t->new_act_food += num_pieces;
- if (cargo_type == CT_STEEL) t->new_act_water += num_pieces;
+ if (cargo_type == CT_WATER) t->new_act_water += num_pieces;
}
// Give the goods to the industry.