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 | 0052c85002e8e5631fa09a0b726b0c65c6350b93 (patch) | |
tree | 69dff3195c0a8d9add54b6bf42a8f9adb078ff94 /src/newgrf.cpp | |
parent | b522f73ba8f6c53f75639fc4f5d6b2a078827513 (diff) | |
download | openttd-0052c85002e8e5631fa09a0b726b0c65c6350b93.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(); |