- fix issue 274 (kudzu)
This commit is contained in:
wagic.the.homebrew@gmail.com
2010-01-03 11:56:31 +00:00
parent 23fe54ae6f
commit 73e3c24c5c

View File

@@ -3105,7 +3105,7 @@ class AKudzu: public TargetAbility{
int receiveEvent(WEvent * event){
if (WEventCardTap* wect = dynamic_cast<WEventCardTap*>(event)) {
if (wect->before == false && wect->after == true){
if (wect->before == false && wect->after == true && wect->card == target){
MTGCardInstance * _target = (MTGCardInstance *)target;
if (!_target->isInPlay()) return 0;
target = _target->controller()->game->putInGraveyard(_target);