From 25a82867ccecbe3d7999feb7fc9af5d8af73d56d Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Wed, 4 Apr 2007 02:19:09 +0000 Subject: [PATCH] fix long songs showing in last stage and causing crash b/c no steps are playable --- stepmania/src/MusicWheel.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/stepmania/src/MusicWheel.cpp b/stepmania/src/MusicWheel.cpp index 61cb755485..bd2632577c 100644 --- a/stepmania/src/MusicWheel.cpp +++ b/stepmania/src/MusicWheel.cpp @@ -93,7 +93,10 @@ void MusicWheel::Load( RString sType ) * stable_sort) from its output, and title will be the secondary sort, without having * to re-sort by title each time. */ SONGMAN->SortSongs(); +} +void MusicWheel::BeginScreen() +{ RageTimer timer; RString times; /* 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(); if( (GAMESTATE->IsExtraStage() && !PREFSMAN->m_bPickExtraStage) || GAMESTATE->IsExtraStage2() )