BeginScreen

This commit is contained in:
Glenn Maynard
2005-08-15 02:32:36 +00:00
parent 25020e01b3
commit cf695ce313
2 changed files with 6 additions and 8 deletions
+3 -4
View File
@@ -48,8 +48,10 @@ ScreenOptionsEditCourse::ScreenOptionsEditCourse( CString sName ) : ScreenOption
void ScreenOptionsEditCourse::Init()
{
ScreenOptions::Init();
}
void ScreenOptionsEditCourse::BeginScreen()
{
// save a backup that we'll use if we revert.
ASSERT( GAMESTATE->m_pCurCourse );
Course *pCourse = GAMESTATE->m_pCurCourse;
@@ -96,10 +98,7 @@ void ScreenOptionsEditCourse::Init()
vHands.push_back( NULL );
ScreenOptions::InitMenu( vDefs, vHands );
}
void ScreenOptionsEditCourse::BeginScreen()
{
ScreenOptions::BeginScreen();
if( GAMESTATE->m_iEditCourseEntryIndex > -1 )