mirror of
https://github.com/HarbourMasters/Starship
synced 2026-07-08 14:46:09 -04:00
FIxed rand on GCC
This commit is contained in:
+1
-1
@@ -19,7 +19,7 @@ void Rand_Init(void) {
|
||||
}
|
||||
|
||||
f32 Rand_ZeroOne(void) {
|
||||
#ifdef __SWITCH__ // Readded to prevent 0 seed
|
||||
#if defined(__SWITCH__) || defined(__linux__)
|
||||
if (sRandSeed1 == sRandSeed2 == sRandSeed3 == 0){
|
||||
Rand_Init();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user