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
This commit is contained in:
omegablast2002@yahoo.com
2010-12-15 19:29:30 +00:00
parent 99266ebae4
commit 6c06544838

View File

@@ -3085,7 +3085,15 @@ int ActivatedAbility::reactToTargetClick(Targetable * object)
delete previousManaPool;
}
if (needsTapping && source->isInPlay())
source->tap();
{
if (dynamic_cast<AManaProducer *> (this))
{
GameObserver *g = GameObserver::GetInstance();
WEvent * e = NEW WEventCardTappedForMana(source, 0, 1);
g->receiveEvent(e);
}
source->tap();
}
fireAbility();
return 1;