From 9d3707386b65af2e884499b95c8afba12eaa2f12 Mon Sep 17 00:00:00 2001 From: linshier Date: Mon, 13 Sep 2010 10:30:12 +0000 Subject: [PATCH] Fixed memleak by ability BloodThirst --- projects/mtg/include/AllAbilities.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/mtg/include/AllAbilities.h b/projects/mtg/include/AllAbilities.h index b875eb2d5..6606757ad 100644 --- a/projects/mtg/include/AllAbilities.h +++ b/projects/mtg/include/AllAbilities.h @@ -2616,7 +2616,7 @@ public: if(_target->controller()->opponent()->damaged() > 0){ _target->counters->addCounter(1,1);} } - return 1;} + return MTGAbility::addToGame();} ABloodThirst * clone() const{ ABloodThirst * a = NEW ABloodThirst(*this); a->isClone = 1;