Fix ScreenNameEntry erasing options (fixes Oni in event mode)

This commit is contained in:
Glenn Maynard
2003-08-13 18:47:12 +00:00
parent 35f3225e4f
commit 78828f1069
+6
View File
@@ -118,6 +118,10 @@ ScreenNameEntry::ScreenNameEntry() : Screen("ScreenNameEntry")
/* Save options. We'll reset them to display letters, and we must put them
* back when we're done. */
GAMESTATE->StoreSelectedOptions();
// reset Player and Song Options
{
for( int p=0; p<NUM_PLAYERS; p++ )
@@ -365,6 +369,8 @@ void ScreenNameEntry::HandleScreenMessage( const ScreenMessage SM )
break;
case SM_GoToNextScreen:
{
GAMESTATE->RestoreSelectedOptions();
Grade max_grade = GRADE_E;
vector<Song*> vSongs;
StageStats stats;