Fix unused variable
AllAbilities.cpp:4172:23: error: unused variable ‘_target’ [-Werror=unused-variable]
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user