Fixed memleak by ability BloodThirst
This commit is contained in:
@@ -2616,7 +2616,7 @@ public:
|
|||||||
if(_target->controller()->opponent()->damaged() > 0){
|
if(_target->controller()->opponent()->damaged() > 0){
|
||||||
_target->counters->addCounter(1,1);}
|
_target->counters->addCounter(1,1);}
|
||||||
}
|
}
|
||||||
return 1;}
|
return MTGAbility::addToGame();}
|
||||||
ABloodThirst * clone() const{
|
ABloodThirst * clone() const{
|
||||||
ABloodThirst * a = NEW ABloodThirst(*this);
|
ABloodThirst * a = NEW ABloodThirst(*this);
|
||||||
a->isClone = 1;
|
a->isClone = 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user