removed a unused variable and correct a bug with [share] spells tc's are deleted as they resolve so these effects couldnt take adventage of this type of targeting when the effect ability was a fizzle.

This commit is contained in:
omegablast2002@yahoo.com
2011-01-23 17:29:26 +00:00
parent 12bdaffac1
commit ee29fbc237
5 changed files with 16 additions and 3 deletions
-1
View File
@@ -860,7 +860,6 @@ public:
if (!e) return 0;
if (!tc->canTarget(e->card)) return 0;
if (fromTc && !fromTc->canTarget(e->source)) return 0;
return 1;
}
+1 -1
View File
@@ -97,7 +97,7 @@ class MTGCardInstance: public CardPrimitive, public MTGCard, public Damageable {
int typeAsTarget(){return TARGET_CARD;}
const string getDisplayName() const;
MTGCardInstance * target;
MTGCardInstance * imprint;
Targetable * backupTargets[MAX_TARGETS];
//types