diff options
author | frosch <frosch@openttd.org> | 2012-10-01 19:31:55 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2012-10-01 19:31:55 +0000 |
commit | 0ba2ed7676b954511fd2c17f450ae1618b1a677c (patch) | |
tree | b4388f02c5ff87b9f2e14963abb51e488bf5cf30 /src/economy_func.h | |
parent | 712260202660ffaf19342b43c0b34cd2e2093434 (diff) | |
download | openttd-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.h | 2 |
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? |