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/saveload/afterload.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/saveload') 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; } } -- cgit v1.2.3-70-g09d2