we dont care if it is the current or ->next when checking casted(...we just care about it being cast

This commit is contained in:
omegablast2002@yahoo.com
2012-03-28 19:02:54 +00:00
parent 1c43f84b01
commit 81a8183322
+2
View File
@@ -283,6 +283,8 @@ int AbilityFactory::parseCastRestrictions(MTGCardInstance * card, Player * playe
MTGCardInstance * stackCard = player->game->stack->cardsSeenThisTurn[k];
if(stackCard->next && stackCard->next == card)
count++;
if(stackCard == card)
count++;
}
if(!count)
return 0;