mirror of
https://github.com/HarbourMasters/Starship.git
synced 2025-02-13 21:45:17 +03:00
Roll back change that causes Rand generation differences
This commit is contained in:
parent
5cf50793f5
commit
bacfab2dd2
@ -19,9 +19,6 @@ void Rand_Init(void) {
|
||||
}
|
||||
|
||||
f32 Rand_ZeroOne(void) {
|
||||
if (sRandSeed1 == sRandSeed2 == sRandSeed3 == 0){
|
||||
Rand_Init();
|
||||
}
|
||||
sRandSeed1 = (sRandSeed1 * 171) % 30269;
|
||||
sRandSeed2 = (sRandSeed2 * 172) % 30307;
|
||||
sRandSeed3 = (sRandSeed3 * 170) % 30323;
|
||||
|
Loading…
Reference in New Issue
Block a user