(svn r22977) -Codechange: Rename SetCachedEngineCounts() to GroupStatistics::UpdateAfterLoad().
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user