reverted ability/color parser for AATokenCreator.

fixed color parsing error for Transformer classes
This commit is contained in:
techdragon.nguyen@gmail.com
2010-11-22 09:51:36 +00:00
parent 4c7b4f4df9
commit 064dad3085
4 changed files with 50 additions and 13 deletions

View File

@@ -631,9 +631,11 @@ AACloner::AACloner(int _id, MTGCardInstance * _source, MTGCardInstance * _target
{
target = _target;
source = _source;
PopulateAbilityIndexVector(awith, abilitiesStringList);
PopulateColorIndexVector(colors, abilitiesStringList);
if ( abilitiesStringList.size() > 0 )
{
PopulateAbilityIndexVector(awith, abilitiesStringList);
PopulateColorIndexVector(colors, abilitiesStringList);
}
}