fixed a bug in sacrificed trigger.

This commit is contained in:
omegablast2002@yahoo.com
2012-11-25 05:00:42 +00:00
parent 92a8ccebd8
commit ca446adf75
+2 -2
View File
@@ -681,8 +681,8 @@ public:
{ {
WEventCardSacrifice * e = dynamic_cast<WEventCardSacrifice *> (event); WEventCardSacrifice * e = dynamic_cast<WEventCardSacrifice *> (event);
if (!e) return 0; if (!e) return 0;
MTGCardInstance * check = e->cardAfter; MTGCardInstance * check = e->cardAfter->next;
MTGGameZone * oldZone = e->cardAfter->currentZone; MTGGameZone * oldZone = e->cardAfter->next->currentZone;
check->currentZone = check->previousZone; check->currentZone = check->previousZone;
if (!tc->canTarget(check,true)) if (!tc->canTarget(check,true))
{ {