Add setting for no vehicles introduced after given year

This commit is contained in:
Jonathan G Rennison
2021-03-17 18:51:19 +00:00
parent f7dcd66f08
commit a670e369db
8 changed files with 48 additions and 6 deletions

View File

@@ -402,7 +402,7 @@ static bool FixTTOEngines()
if (oi == 255) {
/* Default engine is used */
_date += DAYS_TILL_ORIGINAL_BASE_YEAR;
StartupOneEngine(e, aging_date);
StartupOneEngine(e, aging_date, INT_MAX);
e->intro_date -= DAYS_TILL_ORIGINAL_BASE_YEAR;
_date -= DAYS_TILL_ORIGINAL_BASE_YEAR;