* Fix a couple warnings and a bug.
This commit is contained in:
jean.chalard
2009-01-06 13:22:29 +00:00
parent f8c96737e8
commit 7f97862f5e
6 changed files with 5 additions and 12 deletions
+1 -1
View File
@@ -242,7 +242,7 @@ int AbilityFactory::magicText(int id, Spell * spell, MTGCardInstance * card){
end = s.find(",",previous);
string spt = s.substr(previous,end - previous);
int power, toughness;
//int havePowertoughness = parsePowerToughness(spt,&power, &toughness);
parsePowerToughness(spt,&power, &toughness);
string sabilities = s.substr(end+1);
ManaCost * cost = ManaCost::parseManaCost(s);
int multiplier = 1;