Require C++20 for building Stepmania.
This commit is contained in:
+1
-1
@@ -538,7 +538,7 @@ void BackgroundImpl::LoadFromSong( const Song* pSong )
|
||||
|
||||
// Pick the same random items every time the song is played.
|
||||
RandomGen rnd( GetHashForString(pSong->GetSongDir()) );
|
||||
random_shuffle( vsNames.begin(), vsNames.end(), rnd );
|
||||
std::shuffle( vsNames.begin(), vsNames.end(), rnd );
|
||||
int iSize = std::min( (int)g_iNumBackgrounds, (int)vsNames.size() );
|
||||
vsNames.resize( iSize );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user