fix "multiple mods in the same attack weren't themed correctly"

This commit is contained in:
Chris Danford
2004-06-26 22:13:18 +00:00
parent 0de7efdfe0
commit 9da987bd71
+3 -1
View File
@@ -40,10 +40,12 @@ void ActiveAttackList::Update( float fDelta )
CString sMods = attack.sModifier; CString sMods = attack.sModifier;
CStringArray asMods; CStringArray asMods;
split( sMods, ", ", asMods ); split( sMods, ",", asMods );
for( unsigned j=0; j<asMods.size(); j++ ) for( unsigned j=0; j<asMods.size(); j++ )
{ {
CString& sMod = asMods[j]; CString& sMod = asMods[j];
TrimLeft( sMod );
TrimRight( sMod );
sMod = PlayerOptions::ThemeMod( sMod ); sMod = PlayerOptions::ThemeMod( sMod );