Fix broken cmc parsing from cards.xml

I don't know why this even compiled
This commit is contained in:
Gavin Bises 2015-01-29 13:32:17 -05:00
parent a31c15c752
commit 7893ab086f

View file

@ -751,7 +751,7 @@ void CardDatabase::loadCardsFromXml(QXmlStreamReader &xml, bool tokens)
else if (xml.name() == "manacost")
manacost = xml.readElementText();
else if (xml.name() == "cmc")
cmc = xml.readElementText().toInt();
cmc = xml.readElementText();
else if (xml.name() == "type")
type = xml.readElementText();
else if (xml.name() == "pt")