(svn r24565) -Fix: Stop both price and payment inflation if either of them has reached MAX_INFLATION.

This commit is contained in:
frosch
2012-10-01 19:31:55 +00:00
parent aea90e69f6
commit c3fe49c958
3 changed files with 9 additions and 4 deletions

View File

@@ -40,7 +40,7 @@ Money GetPrice(Price index, uint cost_factor, const struct GRFFile *grf_file, in
void InitializeEconomy();
void RecomputePrices();
void AddInflation(bool check_year = true);
bool AddInflation(bool check_year = true);
/**
* Is the economy in recession?