(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 d19cbc474466
parent 1706 70c2d2ad472a
child 1708 b3820078a6de
(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