fix long songs showing in last stage and causing crash b/c no steps are playable
This commit is contained in:
@@ -93,7 +93,10 @@ void MusicWheel::Load( RString sType )
|
|||||||
* stable_sort) from its output, and title will be the secondary sort, without having
|
* stable_sort) from its output, and title will be the secondary sort, without having
|
||||||
* to re-sort by title each time. */
|
* to re-sort by title each time. */
|
||||||
SONGMAN->SortSongs();
|
SONGMAN->SortSongs();
|
||||||
|
}
|
||||||
|
|
||||||
|
void MusicWheel::BeginScreen()
|
||||||
|
{
|
||||||
RageTimer timer;
|
RageTimer timer;
|
||||||
RString times;
|
RString times;
|
||||||
/* Build all of the wheel item data. Do this after selecting
|
/* Build all of the wheel item data. Do this after selecting
|
||||||
@@ -119,10 +122,8 @@ void MusicWheel::Load( RString sType )
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
void MusicWheel::BeginScreen()
|
|
||||||
{
|
|
||||||
WheelBase::BeginScreen();
|
WheelBase::BeginScreen();
|
||||||
|
|
||||||
if( (GAMESTATE->IsExtraStage() && !PREFSMAN->m_bPickExtraStage) || GAMESTATE->IsExtraStage2() )
|
if( (GAMESTATE->IsExtraStage() && !PREFSMAN->m_bPickExtraStage) || GAMESTATE->IsExtraStage2() )
|
||||||
|
|||||||
Reference in New Issue
Block a user