(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.

This commit is contained in:
Darkvater
2005-04-16 20:37:17 +00:00
parent 4e580d2ade
commit b73df26236

View File

@@ -1480,7 +1480,7 @@ int LoadUnloadVehicle(Vehicle *v)
void PlayersMonthlyLoop(void) void PlayersMonthlyLoop(void)
{ {
PlayersGenStatistics(); PlayersGenStatistics();
if (_patches.inflation) if (_patches.inflation && _cur_year < MAX_YEAR_END)
AddInflation(); AddInflation();
PlayersPayInterest(); PlayersPayInterest();
// Reset the _current_player flag // Reset the _current_player flag