Fixed a compiling error for GCC-4.4.5

This commit is contained in:
linshier
2010-10-24 07:34:12 +00:00
parent eb043eba5d
commit 0ce36747a7
+1 -1
View File
@@ -785,7 +785,7 @@ int MTGCombatTriggersRule::receiveEvent(WEvent *e){
} }
if (WEventAttackersChosen * event = dynamic_cast<WEventAttackersChosen*>(e)) if (WEventAttackersChosen * event = dynamic_cast<WEventAttackersChosen*>(e))
{ {
MTGCardInstance * lonelyAttacker; MTGCardInstance * lonelyAttacker = NULL;
int nbattackers = 0; int nbattackers = 0;
Player * p = game->currentPlayer; Player * p = game->currentPlayer;
MTGGameZone * z = p->game->inPlay; MTGGameZone * z = p->game->inPlay;