Signals on tunnel/bridges are now added to infrastructure stats.

This commit is contained in:
Jonathan G Rennison
2017-01-30 21:37:17 +00:00
parent 08062096ab
commit d762835903
6 changed files with 59 additions and 3 deletions

View File

@@ -1148,6 +1148,14 @@ static bool InvalidateCompanyWindow(int32 p1)
return true;
}
static bool SimulatedWormholeSignalsChanged(int32 p1)
{
extern void AfterLoadCompanyStats();
AfterLoadCompanyStats();
MarkWholeScreenDirty();
return true;
}
/** Checks if any settings are set to incorrect values, and sets them to correct values in that case. */
static void ValidateSettings()
{