From aba3f784c5cad1ec9ebeb3e249be9d85539c8578 Mon Sep 17 00:00:00 2001 From: "omegablast2002@yahoo.com" Date: Mon, 27 Sep 2010 02:07:11 +0000 Subject: [PATCH] attempt to fix an issue with prevent:1 on instants and sorceries. thanks for the tip wololo! :) --- projects/mtg/src/MTGAbility.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/mtg/src/MTGAbility.cpp b/projects/mtg/src/MTGAbility.cpp index d6a5f87fa..964497fdd 100644 --- a/projects/mtg/src/MTGAbility.cpp +++ b/projects/mtg/src/MTGAbility.cpp @@ -885,7 +885,7 @@ MTGAbility * AbilityFactory::parseMagicLine(string s, int id, Spell * spell, MTG } Targetable * t = NULL; - if (spell) t = spell->getNextPlayerTarget(); + if (spell) t = spell->getNextDamageableTarget(); MTGAbility * a = NEW AADamagePrevent (id, card, t,preventing,NULL,0,who); a->oneShot = 1; return a;