DebugMenu: ReloadScreen load the current screen, not the initial screen

This commit is contained in:
Chris Danford
2005-05-24 23:32:39 +00:00
parent db7909f336
commit 47681f4684
5 changed files with 8 additions and 8 deletions
+2
View File
@@ -15,6 +15,7 @@
#include "Foreach.h"
#include "OptionRowHandler.h"
#include "ScreenOptionsMasterPrefs.h"
#include "CommonMetrics.h"
#define LINE_NAMES THEME->GetMetric (m_sName,"LineNames")
#define OPTION_MENU_FLAGS THEME->GetMetric (m_sName,"OptionMenuFlags")
@@ -260,6 +261,7 @@ void ScreenOptionsMaster::HandleScreenMessage( const ScreenMessage SM )
if( m_iChangeMask & OPT_RESET_GAME )
{
ResetGame();
SCREENMAN->SetNewScreen( INITIAL_SCREEN );
m_bExportWillSetANewScreen = false;
}