From d170e440d28c5fcf853203a7ac793029235e98f4 Mon Sep 17 00:00:00 2001 From: Lyelye150 Date: Tue, 21 Oct 2025 20:13:23 -0400 Subject: [PATCH] here we go again --- LEGO1/omni/src/action/mxdsselectaction.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/LEGO1/omni/src/action/mxdsselectaction.cpp b/LEGO1/omni/src/action/mxdsselectaction.cpp index 33d88a72..333acd52 100644 --- a/LEGO1/omni/src/action/mxdsselectaction.cpp +++ b/LEGO1/omni/src/action/mxdsselectaction.cpp @@ -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); }