(svn r20850) -Codechange: Add IndustrySpec::UsesSmoothEconomy() to deduplicate code.
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user