Fixed "Werror" related compilation problems on Linux and Meego.
This commit is contained in:
@@ -40,4 +40,4 @@ public:
|
||||
~AIHints();
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -1398,7 +1398,7 @@ public:
|
||||
|
||||
int isReactingToClick(MTGCardInstance * _card, ManaCost * mana = NULL)
|
||||
{
|
||||
if (_card == target && game->currentlyActing()->game->inPlay->hasCard(source) && (MTGCardInstance *) _card->isTapped())
|
||||
if (_card == target && game->currentlyActing()->game->inPlay->hasCard(source) && _card->isTapped())
|
||||
{
|
||||
if (game->currentlyActing()->getManaPool()->canAfford(cost))
|
||||
{
|
||||
@@ -3289,7 +3289,6 @@ public:
|
||||
int addToGame()
|
||||
{
|
||||
MTGCardInstance * _target = (MTGCardInstance *) target;
|
||||
amount;
|
||||
for (int i = 0; i < amount; i++)
|
||||
{
|
||||
if (_target->controller()->opponent()->damaged() > 0)
|
||||
|
||||
@@ -53,4 +53,4 @@ public:
|
||||
~PlayRestrictions();
|
||||
|
||||
};
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user