(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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user