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
@@ -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)