(svn r22977) -Codechange: Rename SetCachedEngineCounts() to GroupStatistics::UpdateAfterLoad().

This commit is contained in:
frosch
2011-10-03 17:20:56 +00:00
parent c531453320
commit 4961cd06a9
5 changed files with 44 additions and 42 deletions

View File

@@ -52,6 +52,7 @@
#include "../core/backup_type.hpp"
#include "../smallmap_gui.h"
#include "../news_func.h"
#include "../group.h"
#include "table/strings.h"
@@ -252,7 +253,7 @@ static void InitializeWindowsAndCaches()
RecomputePrices();
SetCachedEngineCounts();
GroupStatistics::UpdateAfterLoad();
Station::RecomputeIndustriesNearForAll();
RebuildSubsidisedSourceAndDestinationCache();
@@ -2677,7 +2678,7 @@ void ReloadNewGRFData()
ResetVehiclePosHash();
AfterLoadVehicles(false);
StartupEngines();
SetCachedEngineCounts();
GroupStatistics::UpdateAfterLoad();
/* update station graphics */
AfterLoadStations();
/* Check and update house and town values */