(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.
This commit is contained in:
rubidium
2006-08-15 15:18:03 +00:00
parent dc54e608e3
commit c55962f8a2
19 changed files with 38 additions and 38 deletions

View File

@@ -951,7 +951,7 @@ static DisasterInitProc * const _disaster_initprocs[] = {
Disaster7_Init,
};
#define MK(a, b) { (a) - MAX_YEAR_BEGIN_REAL, (b) - MAX_YEAR_BEGIN_REAL }
#define MK(a, b) { (a) - BASE_YEAR, (b) - BASE_YEAR }
static const struct {
byte min;
byte max;