From 81a818332217ba99f9a4477f7c7ec5a3bb2298f0 Mon Sep 17 00:00:00 2001 From: "omegablast2002@yahoo.com" Date: Wed, 28 Mar 2012 19:02:54 +0000 Subject: [PATCH] we dont care if it is the current or ->next when checking casted(...we just care about it being cast --- projects/mtg/src/MTGAbility.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/projects/mtg/src/MTGAbility.cpp b/projects/mtg/src/MTGAbility.cpp index cd29ec6a5..29c781144 100644 --- a/projects/mtg/src/MTGAbility.cpp +++ b/projects/mtg/src/MTGAbility.cpp @@ -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;