Fix town production and acceptance cache saveload/update handling

This commit is contained in:
Jonathan G Rennison
2019-05-26 13:35:33 +01:00
parent 33344482ae
commit c2470a21af
8 changed files with 68 additions and 26 deletions

View File

@@ -1341,8 +1341,8 @@ void CheckCaches(bool force_check, std::function<void(const char *)> log)
const CargoTypes old_town_cargoes_accepted = _town_cargoes_accepted;
extern void RebuildTownCaches();
RebuildTownCaches();
extern void RebuildTownCaches(bool cargo_update_required);
RebuildTownCaches(false);
RebuildSubsidisedSourceAndDestinationCache();
Station::RecomputeCatchmentForAll();