summaryrefslogtreecommitdiff
path: root/src/industry.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2010-10-04 19:23:50 +0000
committerfrosch <frosch@openttd.org>2010-10-04 19:23:50 +0000
commit7f060bdaf5ae6ad0ae0b354eb04ad63a8b34ffa6 (patch)
tree0eb1ccdfd1b4460b81c0f2d44629943484908341 /src/industry.h
parenta0a51c2ac13f90179a7fe476dc4e67dc27040816 (diff)
downloadopenttd-7f060bdaf5ae6ad0ae0b354eb04ad63a8b34ffa6.tar.xz
(svn r20896) -Codechange: Split recompution of productionrates for non-smooth economy to separate function.
Diffstat (limited to 'src/industry.h')
-rw-r--r--src/industry.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/industry.h b/src/industry.h
index c6ca6aa5c..ccec91788 100644
--- a/src/industry.h
+++ b/src/industry.h
@@ -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