This commit is contained in:
Glenn Maynard
2006-01-15 08:37:34 +00:00
parent eb0789f057
commit 0fcdffd9b4
+10 -9
View File
@@ -598,15 +598,6 @@ void ScreenOptions::HandleScreenMessage( const ScreenMessage SM )
{
this->BeginFadingOut();
}
else if( SM == SM_ExportOptions )
{
vector<PlayerNumber> vpns;
FOREACH_HumanPlayer( p )
vpns.push_back( p );
for( unsigned r=0; r<m_pRows.size(); r++ ) // foreach row
this->ExportOptions( r, vpns );
this->HandleScreenMessage( SM_GoToNextScreen );
}
else if( SM == SM_BeginFadingOut )
{
if( IsTransitioning() )
@@ -615,6 +606,16 @@ void ScreenOptions::HandleScreenMessage( const ScreenMessage SM )
SCREENMAN->PlayStartSound();
}
else if( SM == SM_ExportOptions )
{
vector<PlayerNumber> vpns;
FOREACH_HumanPlayer( p )
vpns.push_back( p );
for( unsigned r=0; r<m_pRows.size(); r++ ) // foreach row
this->ExportOptions( r, vpns );
this->HandleScreenMessage( SM_GoToNextScreen );
}
else if( SM == SM_GainFocus )
{
INPUTFILTER->SetRepeatRate( 0.25f, 0.25f, 12 );