From 0d3ccad29fb035fced3a1a87b7804fde8c4e94b1 Mon Sep 17 00:00:00 2001 From: rubidium Date: Tue, 15 Aug 2006 15:18:03 +0000 Subject: (svn r5916) -Cleanup: use MIN_YEAR/MAX_YEAR for the year boundaries and BASE_YEAR when comparing _cur_year with a 'full' year. -Cleanup: replace some magic '1920' values with BASE_YEAR. --- economy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'economy.c') diff --git a/economy.c b/economy.c index ab3a3efb6..8b8d9034f 100644 --- a/economy.c +++ b/economy.c @@ -1482,7 +1482,7 @@ int LoadUnloadVehicle(Vehicle *v) void PlayersMonthlyLoop(void) { PlayersGenStatistics(); - if (_patches.inflation && _cur_year < MAX_YEAR_END) + if (_patches.inflation && BASE_YEAR + _cur_year < MAX_YEAR) AddInflation(); PlayersPayInterest(); // Reset the _current_player flag -- cgit v1.2.3-70-g09d2