fixed a report crash with auras that "teach(" an activated ability to a creature which can phaseout.

This commit is contained in:
omegablast2002@yahoo.com
2011-03-22 02:25:02 +00:00
parent 43711786fd
commit aeb4a839b2

View File

@@ -2667,6 +2667,8 @@ public:
int canBeInList(MTGCardInstance * card)
{
if(card->isPhased || source->isPhased)
return 0;
if ((tc->source->hasSubtype("aura") || tc->source->hasSubtype("equipment") || tc->source->hasSubtype("instant")
|| tc->source->hasSubtype("sorcery")) && tc->canTarget(card) && card == tc->source->target && card != tc->source) return 1;
return 0;