Fixed "Werror" related compilation problems on Linux and Meego.

This commit is contained in:
Xawotihs
2011-08-14 18:09:02 +00:00
parent 8f1e97f8f9
commit c188b4d104
20 changed files with 22 additions and 51 deletions
+1 -2
View File
@@ -977,9 +977,8 @@ int MTGSuspendRule::reactToClick(MTGCardInstance * card)
card->paymenttype = MTGAbility::SUSPEND_COST;
}
//------------------------------------------------------------------------
int payResult = player->getManaPool()->pay(card->getManaCost()->suspend);
player->getManaPool()->pay(card->getManaCost()->suspend);
card->getManaCost()->suspend->doPayExtra();
payResult = ManaCost::MANA_PAID_WITH_SUSPEND;
//---------------------------------------------------------------------------
player->game->putInZone(card, card->currentZone, player->game->exile);
card->next->suspended = true;