Change: Attempt to improve randomisation of reliability

This commit is contained in:
Peter Nelson 2022-12-11 13:22:17 +00:00 committed by PeterN
parent 3485709f53
commit 74180efe7f
1 changed files with 2 additions and 1 deletions

View File

@ -685,7 +685,8 @@ void StartupOneEngine(Engine *e, Date aging_date)
}
SetRandomSeed(_settings_game.game_creation.generation_seed ^
re->index ^
(re->index << 16) ^ (re->info.base_intro << 12) ^ (re->info.decay_speed << 8) ^
(re->info.lifelength << 4) ^ re->info.retire_early ^
e->type ^
e->GetGRFID());