diff src/saveload/afterload.cpp @ 19656:f681f6d5dc24 draft

(svn r24565) -Fix: Stop both price and payment inflation if either of them has reached MAX_INFLATION.
author frosch <frosch@openttd.org>
date Mon, 01 Oct 2012 19:31:55 +0000
parents bd9f7150594c
children dd021b9ddc69
line wrap: on
line diff
--- a/src/saveload/afterload.cpp
+++ b/src/saveload/afterload.cpp
@@ -2171,7 +2171,7 @@
 
 		/* Simulate the inflation, so we also get the payment inflation */
 		while (_economy.inflation_prices < aimed_inflation) {
-			AddInflation(false);
+			if (AddInflation(false)) break;
 		}
 	}