diff options
author | peter1138 <peter1138@openttd.org> | 2009-01-08 21:48:59 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2009-01-08 21:48:59 +0000 |
commit | 544e04fe620b6fd55c49f8cf04bf1222b2aae055 (patch) | |
tree | 69dff3195c0a8d9add54b6bf42a8f9adb078ff94 /src/newgrf.cpp | |
parent | eec8c045862865d112926a41844d601f43512fbb (diff) | |
download | openttd-544e04fe620b6fd55c49f8cf04bf1222b2aae055.tar.xz |
(svn r14926) -Feature: Automatically set last engine ageing year to the last 'introduction year plus half model life', to allow engines later than 2050 to appear.
Diffstat (limited to 'src/newgrf.cpp')
-rw-r--r-- | src/newgrf.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp index e0cff5836..915cd3f99 100644 --- a/src/newgrf.cpp +++ b/src/newgrf.cpp @@ -6039,6 +6039,8 @@ static void AfterLoadGRFs() } } + SetYearEngineAgingStops(); + /* Deallocate temporary loading data */ free(_gted); _grm_sprites.clear(); |