summaryrefslogtreecommitdiff
path: root/src/industrytype.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/industrytype.h')
-rw-r--r--src/industrytype.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/industrytype.h b/src/industrytype.h
index c534fa60a..c037ab61e 100644
--- a/src/industrytype.h
+++ b/src/industrytype.h
@@ -153,6 +153,12 @@ struct IndustrySpec {
* @return the cost (inflation corrected etc)
*/
Money GetRemovalCost() const;
+
+ /**
+ * Determines whether this industrytype uses smooth economy or whether it uses standard/newgrf production changes.
+ * @return true if smooth economy is used.
+ */
+ bool UsesSmoothEconomy() const;
};
/**