mirror of https://github.com/OpenTTD/OpenTTD.git
Change: Attempt to improve randomisation of reliability
This commit is contained in:
parent
3485709f53
commit
74180efe7f
|
@ -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());
|
||||
|
||||
|
|
Loading…
Reference in New Issue