minor change to the parsing of AMover "and((" subkeyword.

This commit is contained in:
omegablast2002@yahoo.com
2012-01-31 21:25:38 +00:00
parent 4b70061dae
commit 9127ddaca2
+1 -1
View File
@@ -1747,7 +1747,7 @@ MTGAbility * AbilityFactory::parseMagicLine(string s, int id, Spell * spell, MTG
a->oneShot = 1;
if(s.find("and(") != string::npos)
{
vector<string> splitAnd = parseBetween(s, "and((", "))");
vector<string> splitAnd = parseBetween(s, "and((", " ))",false);
if(splitAnd.size())
{
((AAMover*)a)->andAbility = parseMagicLine(splitAnd[1], id, spell, card);