(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)
authortron
Sun, 06 Feb 2005 07:49:41 +0000
changeset 1308 286dda1121ca
parent 1307 e009b42d00b4
child 1309 dab90d4cbf2d
(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
--- a/economy.c	Sat Feb 05 23:07:35 2005 +0000
+++ b/economy.c	Sun Feb 06 07:49:41 2005 +0000
@@ -1234,7 +1234,7 @@
 	{
 		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.