- revert r3645

- fix memory leak in GenericInstantAbility
This commit is contained in:
wagic.the.homebrew@gmail.com
2011-05-11 08:06:53 +00:00
parent 413926515f
commit 1ee3c9eccc
4 changed files with 21 additions and 53 deletions
+1 -1
View File
@@ -909,7 +909,7 @@ MTGAbility * AbilityFactory::parseMagicLine(string s, int id, Spell * spell, MTG
if (!a1)
return NULL;
return NEW AGenericInstantWrapper(1, card, (Damageable *) target, a1);
return NEW GenericInstantAbility(1, card, (Damageable *) target, a1);
}
//Upkeep Cost