mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-01-13 11:11:15 +00:00
Update
This commit is contained in:
parent
b22bcf9342
commit
2f800f7759
@ -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;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user