here we go again

This commit is contained in:
Lyelye150 2025-10-21 20:13:23 -04:00
parent 2727ee007b
commit d170e440d2

View File

@ -114,7 +114,11 @@ void MxDSSelectAction::Deserialize(MxU8*& p_source, MxS16 p_flags)
MxS16 value = atoi(&m_unk0x9c.GetData()[strlen("RANDOM_")]);
srand(Timer()->GetTime());
#ifdef __WIIU__
MxS32 random = SDL_tanf(value);
#else
MxS32 random = SDL_rand(value);
#endif
string = SDL_itoa((MxS16) random, buffer, 10);
}