Fix Practice Songs crash with AdditionalSongs.
This commit is contained in:
@@ -8,6 +8,11 @@ ________________________________________________________________________________
|
|||||||
StepMania 5.0 Preview 2 | 201106??
|
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
|
2011/06/17
|
||||||
----------
|
----------
|
||||||
* [LifeMeterBattery] Fixed a bug where MinesSubtractLives was not being honored.
|
* [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-- )
|
for( int i=vpSongsOut.size()-1; i>=0; i-- )
|
||||||
{
|
{
|
||||||
const Song* pSong = vpSongsOut[i];
|
const Song* pSong = vpSongsOut[i];
|
||||||
if( !pSong->NormallyDisplayed() || pSong->IsTutorial() || SONGMAN->WasLoadedFromAdditionalSongs(pSong) )
|
if( !pSong->NormallyDisplayed() || pSong->IsTutorial() )
|
||||||
vpSongsOut.erase( vpSongsOut.begin()+i );
|
vpSongsOut.erase( vpSongsOut.begin()+i );
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user