diff options
| author | Christopher Leggett <chris@leggett.dev> | 2026-01-09 14:10:12 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-09 14:10:12 +0000 |
| commit | ba0ecc59aa857c24f72aac066968879c4be7556e (patch) | |
| tree | 1d54dee7c7d90eb10164da7d10b1218d6882ff34 /soh/src/code | |
| parent | 9ca5ce0b53c7bb58042e39fcac502894291152f4 (diff) | |
Fix RNG used by cosmetics editor to use same RNG method as rando (#5979)
Refactor ShipUtils to optionally take a state pointer.
Also changed random.h/cpp to be a wrapper around ShipUtils RNG providing a pointer to the rando state variable.
Use ShipUtils RNG for UIWidgets GetRandomValue
Fix AudioEditor to use ShipUtils RNG and its own state. It seems like shuffling Audio at the right time could have potentially messed with rando seed generation before this, but that bug, if it existed, should also be fixed with this.
Diffstat (limited to 'soh/src/code')
0 files changed, 0 insertions, 0 deletions
