From 72b539b05e9fb05e40555ab909c502900af26df6 Mon Sep 17 00:00:00 2001 From: tron Date: Sun, 6 Feb 2005 07:49:41 +0000 Subject: (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) --- economy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- cgit v1.2.3-70-g09d2