patch to address issue 601, this is a work around to get the game shop from crashing due to card definitions that are apparently not 100% compatible with the system.
http://code.google.com/p/wagic/issues/detail?id=601
This commit is contained in:
@@ -199,6 +199,7 @@ ManaCost * ManaCost::parseManaCost(string s, ManaCost * _manaCost, MTGCardInstan
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (values[0] > 0 || values[1] > 0)
|
||||||
manaCost->addHybrid(colors[0], values[0], colors[1], values[1]);
|
manaCost->addHybrid(colors[0], values[0], colors[1], values[1]);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user