fix for the manaability filter crash.
This commit is contained in:
@@ -167,6 +167,7 @@ ManaCost * ManaCost::parseManaCost(string s, ManaCost * _manaCost, MTGCardInstan
|
|||||||
{
|
{
|
||||||
if(value == "chosencolor")
|
if(value == "chosencolor")
|
||||||
{
|
{
|
||||||
|
if(c)
|
||||||
manaCost->add(c->chooseacolor, 1);
|
manaCost->add(c->chooseacolor, 1);
|
||||||
}
|
}
|
||||||
else if(value == "cycle")
|
else if(value == "cycle")
|
||||||
|
|||||||
Reference in New Issue
Block a user