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/saveload | |
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/saveload')
-rw-r--r-- | src/saveload/afterload.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/saveload/afterload.cpp b/src/saveload/afterload.cpp index d97aa2aaf..bc27288e2 100644 --- a/src/saveload/afterload.cpp +++ b/src/saveload/afterload.cpp @@ -2171,7 +2171,7 @@ bool AfterLoadGame() /* Simulate the inflation, so we also get the payment inflation */ while (_economy.inflation_prices < aimed_inflation) { - AddInflation(false); + if (AddInflation(false)) break; } } |