Another loop to squish.

This commit is contained in:
Jason Felds
2013-04-30 22:03:01 -04:00
parent e06d7e40bc
commit 94fda00751
+2 -2
View File
@@ -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() );
}