lastController defined when creating copies of itself

This commit is contained in:
Anthony Calosa
2016-06-30 14:06:21 +08:00
parent 76bb777f4d
commit e6aafbc8a6
4 changed files with 2 additions and 4 deletions

View File

@@ -2802,7 +2802,6 @@ MTGAbility * AbilityFactory::parseMagicLine(string s, int id, Spell * spell, MTG
vector<string> splitCascade = parseBetween(s, "cascade:", " ", false);
if (splitCascade.size())
{
Targetable * t = spell ? spell->getNextTarget() : NULL;
MTGAbility * a = NEW AACascade(observer, id, card, target, splitCascade[1], NULL);
a->oneShot = 1;
return a;