* Really not pop out when not my turn
This commit is contained in:
jean.chalard
2009-08-28 15:16:03 +00:00
parent fe6e811f0b
commit 1496f9ecd2

View File

@@ -182,7 +182,7 @@ int GuiCombat::receiveEventMinus(WEvent* e)
else if (WEventBlockersAssigned* event = dynamic_cast<WEventBlockersAssigned*>(e))
{
if (active) return 0; // Why do I take this event twice >.>
if (go->currentlyActing()->isAI()) return 0;
if (go->currentPlayer->isAI()) return 0;
unsigned size = 0;
for (vector<MTGCardInstance*>::iterator it = attackers.begin(); it != attackers.end(); ++it)
if (1 < (*it)->blockers.size()) ++size;