Fixed small bug that caused difficulty icons to show up incorrectly after the last commit.. ex: lgt, showed as oni/heavy showed as rave, etc..

This commit is contained in:
Kevin Slaughter
2003-04-26 07:03:19 +00:00
parent 17f2ab4033
commit bef2a53f35
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ void DifficultyIcon::SetFromNotes( PlayerNumber pn, Notes* pNotes )
switch( GetNumStates() )
{
case 5: SetState( iStateNo ); break;
case 10: SetState( iStateNo*2+pn ); break;
case 10: SetState( iStateNo ); break;
default: ASSERT(0);
}
}
+3 -2
View File
@@ -66,8 +66,9 @@ ScreenSelectDifficultyEX::ScreenSelectDifficultyEX() : ScreenSelect( "ScreenSele
m_sprDifficultyIcon[p].SetY( 200 );
m_sprDifficultyIcon[p].SetZoom( 10 );
m_sprDifficultyIcon[p].SetState( 5 ); // 0=BEG, 1=LGT, 2=STD, 3=HVY, 4=NS/ONI
//this->AddChild( &m_sprDifficultyIcon[p] );
m_sprDifficultyIcon[p].SetState( 6 );
// 0=BEGINNER, 1=LIGHT, 2=STANDARD, 3=HEAVY, 4=NONSTOP/ONI, 5=ENDLESS, 6=RAVE
this->AddChild( &m_sprDifficultyIcon[p] );
CLAMP( m_iChoice[p], 0, (int)m_ModeChoices.size()-1 );
m_bChosen[p] = false;