(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 878cebaa70
commit 972448d5ae
1 changed files with 1 additions and 1 deletions

View File

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