(svn r20896) -Codechange: Split recompution of productionrates for non-smooth economy to separate function.

This commit is contained in:
frosch
2010-10-04 19:23:50 +00:00
parent a0a51c2ac1
commit 7f060bdaf5
2 changed files with 17 additions and 5 deletions

View File

@@ -65,6 +65,8 @@ struct Industry : IndustryPool::PoolItem<&_industry_pool> {
Industry(TileIndex tile = INVALID_TILE) : location(tile, 0, 0) {}
~Industry();
void RecomputeProductionMultipliers();
/**
* Get the industry of the given tile
* @param tile the tile to get the industry from