Fixed a compiling error for GCC-4.4.5
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user