Another loop to squish.
This commit is contained in:
@@ -45,8 +45,8 @@ void ScreenOptionsEditProfile::BeginScreen()
|
||||
def.m_vsChoices.clear();
|
||||
vector<Character*> vpCharacters;
|
||||
CHARMAN->GetCharacters( vpCharacters );
|
||||
FOREACH_CONST( Character*, vpCharacters, c )
|
||||
def.m_vsChoices.push_back( (*c)->GetDisplayName() );
|
||||
for (Character const *c : vpCharacters)
|
||||
def.m_vsChoices.push_back( c->GetDisplayName() );
|
||||
if( def.m_vsChoices.empty() )
|
||||
def.m_vsChoices.push_back( RString() );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user