summaryrefslogtreecommitdiff
path: root/src/economy_func.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2012-10-01 19:31:55 +0000
committerfrosch <frosch@openttd.org>2012-10-01 19:31:55 +0000
commit0ba2ed7676b954511fd2c17f450ae1618b1a677c (patch)
treeb4388f02c5ff87b9f2e14963abb51e488bf5cf30 /src/economy_func.h
parent712260202660ffaf19342b43c0b34cd2e2093434 (diff)
downloadopenttd-0ba2ed7676b954511fd2c17f450ae1618b1a677c.tar.xz
(svn r24565) -Fix: Stop both price and payment inflation if either of them has reached MAX_INFLATION.
Diffstat (limited to 'src/economy_func.h')
-rw-r--r--src/economy_func.h2
1 files changed, 1 insertions, 1 deletions
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?