fix unused variable error
This commit is contained in:
@@ -1387,7 +1387,7 @@ int MTGAttackCostRule::reactToClick(MTGCardInstance * card)
|
|||||||
ManaCost * attackcost = NEW ManaCost(ManaCost::parseManaCost("{0}",NULL,NULL));
|
ManaCost * attackcost = NEW ManaCost(ManaCost::parseManaCost("{0}",NULL,NULL));
|
||||||
attackcost->add(0,card->attackCostBackup);
|
attackcost->add(0,card->attackCostBackup);
|
||||||
ManaCost * playerMana = player->getManaPool();
|
ManaCost * playerMana = player->getManaPool();
|
||||||
player->getManaPool()->pay(attackcost);
|
playerMana->pay(attackcost);
|
||||||
card->attackCost = 0;
|
card->attackCost = 0;
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user