(svn r2211) - Fix(ish): When eternally looping in 2090 don't go increasing the inflation anymore because it will just rise to insanely high values beyond all imagination.
authorDarkvater
Sat, 16 Apr 2005 20:37:17 +0000
changeset 1707 6e622b242334
parent 1706 6f78a98f676d
child 1708 e9d1bc28c542
(svn r2211) - Fix(ish): When eternally looping in 2090 don't go increasing the inflation anymore because it will just rise to insanely high values beyond all imagination.
economy.c
--- a/economy.c	Sat Apr 16 20:10:24 2005 +0000
+++ b/economy.c	Sat Apr 16 20:37:17 2005 +0000
@@ -1480,7 +1480,7 @@
 void PlayersMonthlyLoop(void)
 {
 	PlayersGenStatistics();
-	if (_patches.inflation)
+	if (_patches.inflation && _cur_year < MAX_YEAR_END)
 		AddInflation();
 	PlayersPayInterest();
 	// Reset the _current_player flag