(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)
This commit is contained in:
darkvater
2004-08-10 14:42:52 +00:00
parent cc8080f2dc
commit a32d8553e7
5 changed files with 91 additions and 32 deletions

View File

@@ -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.