(svn r16654) -Codechange: cache industries in station's coverage area instead of searching them everytime payment is made

This commit is contained in:
smatz
2009-06-25 15:42:03 +00:00
parent 2fc6fc7d62
commit 72bee4ad2d
8 changed files with 174 additions and 9 deletions

View File

@@ -961,6 +961,12 @@ static bool ChangeDynamicEngines(int32 p1)
return true;
}
static bool StationCatchmentChanged(int32 p1)
{
Station::RecomputeIndustriesNearForAll();
return true;
}
#ifdef ENABLE_NETWORK
static bool UpdateClientName(int32 p1)