summaryrefslogtreecommitdiff
path: root/economy.c
diff options
context:
space:
mode:
authordarkvater <darkvater@openttd.org>2004-08-10 14:42:52 +0000
committerdarkvater <darkvater@openttd.org>2004-08-10 14:42:52 +0000
commita32d8553e7166bd95d355c633307b9782402868a (patch)
tree33378a01da401cbee1bc5b61e1fa3d9b1fb247f3 /economy.c
parentcc8080f2dc96d27035830915a9679101d0a77085 (diff)
downloadopenttd-a32d8553e7166bd95d355c633307b9782402868a.tar.xz
(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)
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 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.