added SAFE_DELETE
This commit is contained in:
@@ -425,7 +425,7 @@ AForeverTransformer::AForeverTransformer(int id, MTGCardInstance * source, MTGCa
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
int addToGame()
|
int AForeverTransformer::addToGame()
|
||||||
{
|
{
|
||||||
MTGCardInstance * _target = (MTGCardInstance *) target;
|
MTGCardInstance * _target = (MTGCardInstance *) target;
|
||||||
if (_target)
|
if (_target)
|
||||||
@@ -706,5 +706,5 @@ ABecomesUEOT * ABecomesUEOT::clone() const
|
|||||||
|
|
||||||
ABecomesUEOT::~ABecomesUEOT()
|
ABecomesUEOT::~ABecomesUEOT()
|
||||||
{
|
{
|
||||||
SAFE_DELETE ability;
|
SAFE_DELETE(ability);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user