phase out vDefs param

This commit is contained in:
Glenn Maynard
2006-01-17 21:31:50 +00:00
parent 2b9bb0ec44
commit 8fd297bdfc
12 changed files with 17 additions and 47 deletions
+1 -3
View File
@@ -28,7 +28,6 @@ void ScreenOptionsEditProfile::BeginScreen()
{
m_Original = *GAMESTATE->GetEditLocalProfile();
vector<OptionRowDefinition> vDefs;
vector<OptionRowHandler*> vHands;
Profile *pProfile = PROFILEMAN->GetLocalProfile( GAMESTATE->m_sEditLocalProfileID );
@@ -49,10 +48,9 @@ void ScreenOptionsEditProfile::BeginScreen()
CHARMAN->GetCharacters( vpCharacters );
FOREACH_CONST( Character*, vpCharacters, c )
def.m_vsChoices.push_back( (*c)->GetDisplayName() );
vDefs.push_back( def );
}
InitMenu( vDefs, vHands );
InitMenu( vHands );
ScreenOptions::BeginScreen();
}