FIxed rand on GCC

This commit is contained in:
KiritoDv
2025-03-05 20:47:14 -06:00
parent 6a2993f5d3
commit 0798df9037
+1 -1
View File
@@ -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();
}