From 0ba2ed7676b954511fd2c17f450ae1618b1a677c Mon Sep 17 00:00:00 2001 From: frosch Date: Mon, 1 Oct 2012 19:31:55 +0000 Subject: (svn r24565) -Fix: Stop both price and payment inflation if either of them has reached MAX_INFLATION. --- src/economy_func.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/economy_func.h') diff --git a/src/economy_func.h b/src/economy_func.h index e9c9c170d..111ce85a2 100644 --- a/src/economy_func.h +++ b/src/economy_func.h @@ -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? -- cgit v1.2.3-54-g00ecf