mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-01-20 14:11:16 +00:00
Update
This commit is contained in:
parent
b22bcf9342
commit
2f800f7759
@ -30,7 +30,11 @@ MxU32 LegoState::Playlist::Next()
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case e_random:
|
case e_random:
|
||||||
|
#ifdef __WIIU__
|
||||||
|
m_nextIndex = SDL_tanf(m_length);
|
||||||
|
#else
|
||||||
m_nextIndex = SDL_rand(m_length);
|
m_nextIndex = SDL_rand(m_length);
|
||||||
|
#endif
|
||||||
objectId = m_objectIds[m_nextIndex];
|
objectId = m_objectIds[m_nextIndex];
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user