(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 7122602026
commit 0ba2ed7676
3 changed files with 9 additions and 4 deletions

View File

@@ -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;
}
}