Fix Practice Songs crash with AdditionalSongs.
This commit is contained in:
@@ -8,6 +8,11 @@ ________________________________________________________________________________
|
||||
StepMania 5.0 Preview 2 | 201106??
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
2011/06/19
|
||||
* [EditMenu] Allow all songs to work in Practice Mode, regardless of folder
|
||||
location. This fixes a crash if everyone had songs in AdditionalSongs.
|
||||
[Wolfman2000]
|
||||
|
||||
2011/06/17
|
||||
----------
|
||||
* [LifeMeterBattery] Fixed a bug where MinesSubtractLives was not being honored.
|
||||
|
||||
+1
-1
@@ -60,7 +60,7 @@ void EditMenu::GetSongsToShowForGroup( const RString &sGroup, vector<Song*> &vpS
|
||||
for( int i=vpSongsOut.size()-1; i>=0; i-- )
|
||||
{
|
||||
const Song* pSong = vpSongsOut[i];
|
||||
if( !pSong->NormallyDisplayed() || pSong->IsTutorial() || SONGMAN->WasLoadedFromAdditionalSongs(pSong) )
|
||||
if( !pSong->NormallyDisplayed() || pSong->IsTutorial() )
|
||||
vpSongsOut.erase( vpSongsOut.begin()+i );
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user