cleanup: don't export options from SM_GoToNextScreen

(need to get rid of this AutoScreenMessage thing; causes duplicate variables
to be declared for every file that includes it)
This commit is contained in:
Glenn Maynard
2005-07-12 06:10:01 +00:00
parent 4c1920474c
commit cd76a879f6
3 changed files with 14 additions and 9 deletions
+2 -2
View File
@@ -212,7 +212,7 @@ void ScreenOptionsMaster::RefreshIcons( int r, PlayerNumber pn )
void ScreenOptionsMaster::HandleScreenMessage( const ScreenMessage SM )
{
if( SM == SM_GoToNextScreen )
if( SM == SM_ExportOptions )
{
//
// Override ScreenOptions's calling of ExportOptions
@@ -271,7 +271,7 @@ void ScreenOptionsMaster::HandleScreenMessage( const ScreenMessage SM )
CHECKPOINT;
if( !(m_iChangeMask & OPT_RESET_GAME) )
this->GoToNextScreen();
this->HandleScreenMessage( SM_GoToNextScreen );
}
else
ScreenOptions::HandleScreenMessage( SM );