From 6c06544838d587129694ea88106c208c7b0b5f41 Mon Sep 17 00:00:00 2001 From: "omegablast2002@yahoo.com" Date: Wed, 15 Dec 2010 19:29:30 +0000 Subject: [PATCH] fixed 562 special lands not sending tap events. activatedability was over riding the reacttoclick of manaproducer...therefore not sending out the tapformana event. Issue: 562 --- projects/mtg/src/MTGAbility.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/projects/mtg/src/MTGAbility.cpp b/projects/mtg/src/MTGAbility.cpp index efa700684..8d86ed3ac 100644 --- a/projects/mtg/src/MTGAbility.cpp +++ b/projects/mtg/src/MTGAbility.cpp @@ -3085,7 +3085,15 @@ int ActivatedAbility::reactToTargetClick(Targetable * object) delete previousManaPool; } if (needsTapping && source->isInPlay()) - source->tap(); + { + if (dynamic_cast (this)) + { + GameObserver *g = GameObserver::GetInstance(); + WEvent * e = NEW WEventCardTappedForMana(source, 0, 1); + g->receiveEvent(e); + } + source->tap(); + } fireAbility(); return 1;