Fix unused variable

AllAbilities.cpp:4172:23: error: unused variable ‘_target’
[-Werror=unused-variable]
This commit is contained in:
Anthony Calosa
2016-06-03 23:28:04 +08:00
parent ce8e117b0b
commit 375589c73d

View File

@@ -4169,17 +4169,8 @@ int AAlterCost::destroy()
int AAlterCost::testDestroy()
{
MTGCardInstance * _target = (MTGCardInstance *)target;
if(!this->manaReducer->isInPlay(game))
{
if (amount > 0)
{
;
}
else
{
;
}
return MTGAbility::testDestroy();
}
return 0;