This commit is contained in:
Lyelye150 2025-10-21 20:44:04 -04:00
parent b22bcf9342
commit 2f800f7759

View File

@ -30,7 +30,11 @@ MxU32 LegoState::Playlist::Next()
break;
case e_random:
#ifdef __WIIU__
m_nextIndex = SDL_tanf(m_length);
#else
m_nextIndex = SDL_rand(m_length);
#endif
objectId = m_objectIds[m_nextIndex];
break;