summaryrefslogtreecommitdiff
path: root/src/date_type.h
diff options
context:
space:
mode:
authorNiels Martin Hansen <nielsm@indvikleren.dk>2019-09-18 20:18:45 +0200
committerNiels Martin Hansen <nielsm@indvikleren.dk>2019-12-28 12:27:39 +0100
commit2fd871e2af5cb9e239628843fbd40499ee43406a (patch)
tree25973b79c47ddece4a820807f1fb4694bd85b51b /src/date_type.h
parent69f9529ba32df396c4353b2d1c752a3f6609069a (diff)
downloadopenttd-2fd871e2af5cb9e239628843fbd40499ee43406a.tar.xz
Feature: Configurable game ending year
Functionally reverts 683b65ee1
Diffstat (limited to 'src/date_type.h')
-rw-r--r--src/date_type.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/date_type.h b/src/date_type.h
index d05b44008..4cbcfac4e 100644
--- a/src/date_type.h
+++ b/src/date_type.h
@@ -84,6 +84,8 @@ static const Year MIN_YEAR = 0;
/** The default starting year */
static const Year DEF_START_YEAR = 1950;
+/** The default scoring end year */
+static const Year DEF_END_YEAR = ORIGINAL_END_YEAR - 1;
/**
* MAX_YEAR, nicely rounded value of the number of years that can