From a32d8553e7166bd95d355c633307b9782402868a Mon Sep 17 00:00:00 2001 From: darkvater Date: Tue, 10 Aug 2004 14:42:52 +0000 Subject: (svn r5) -Fix: townname generation of TTDLX savegames. All work except for German Townnames (also fix one typo on English town-names) -CodeChange: *act_paper to *act_water in Town to more resemble its use -Fix: AI players now retain AI status. Since TTDLX savegame status is not fully documented, some holes exist (AI state is set to one without a vehicle, otherwise it crashes) --- economy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'economy.c') diff --git a/economy.c b/economy.c index 94293e2b0..3c5988d93 100644 --- a/economy.c +++ b/economy.c @@ -1058,7 +1058,7 @@ static int32 DeliverGoods(int num_pieces, byte cargo_type, byte source, byte des { Town *t = s_to->town; if (cargo_type == CT_FOOD) t->new_act_food += num_pieces; - if (cargo_type == CT_STEEL) t->new_act_paper += num_pieces; + if (cargo_type == CT_STEEL) t->new_act_water += num_pieces; } // Give the goods to the industry. -- cgit v1.2.3-54-g00ecf