Change: Add extra random seed to StartupEngines().

This means that calling reset_engines will rerandomise introduction dates
and reliability.

Probably not necessary.
This commit is contained in:
Peter Nelson
2022-12-12 11:17:55 +00:00
committed by PeterN
parent 74180efe7f
commit cbf48c4dd9
3 changed files with 8 additions and 6 deletions

View File

@@ -401,7 +401,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, 0);
CalcEngineReliability(e, false);
e->intro_date -= DAYS_TILL_ORIGINAL_BASE_YEAR;
_date -= DAYS_TILL_ORIGINAL_BASE_YEAR;