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); }