Fix options from the last song carrying over into name entry

This commit is contained in:
Chris Gomez
2003-02-06 09:19:48 +00:00
parent 71111912d0
commit 6a1f7e63f7
+3 -1
View File
@@ -90,7 +90,6 @@ ScreenNameEntry::ScreenNameEntry()
{
LOG->Trace( "ScreenNameEntry::ScreenNameEntry()" );
// update cache
g_fCharsZoomSmall = CHARS_ZOOM_SMALL;
@@ -193,6 +192,9 @@ ScreenNameEntry::ScreenNameEntry()
if( !bNewHighScore )
continue; // skip
// remove modifiers that may have been on the last song
GAMESTATE->m_PlayerOptions[p] = PlayerOptions();
ASSERT( GAMESTATE->IsPlayerEnabled(p) ); // they better be enabled if they made a high score!
m_GrayArrowRow[p].Load( (PlayerNumber)p );