(svn r23526) -Codechange: unify cargos vs cargoes

This commit is contained in:
rubidium
2011-12-15 21:56:00 +00:00
parent da63ce43fa
commit 24263638bf
37 changed files with 138 additions and 138 deletions

View File

@@ -2707,7 +2707,7 @@ bool AfterLoadGame()
Town *town;
FOR_ALL_TOWNS(town) {
UpdateTownCargos(town);
UpdateTownCargoes(town);
}
}

View File

@@ -289,7 +289,7 @@ static void Load_STNS()
StationID source = (IsSavegameVersionBefore(7) && _cargo_source == 0xFF) ? INVALID_STATION : _cargo_source;
/* Make sure we can allocate the CargoPacket. This is safe
* as there can only be ~64k stations and 32 cargos in these
* as there can only be ~64k stations and 32 cargoes in these
* savegame versions. As the CargoPacketPool has more than
* 16 million entries; it fits by an order of magnitude. */
assert(CargoPacket::CanAllocateItem());

View File

@@ -97,7 +97,7 @@ void UpdateHousesAndTowns()
/* Update the population and num_house dependant values */
FOR_ALL_TOWNS(town) {
UpdateTownRadius(town);
UpdateTownCargos(town);
UpdateTownCargoes(town);
}
UpdateTownCargoBitmap();
}