* Attempt not to display when it's not my turn.
  Does not work because of the internals of GameObs, will ask when I get
  the chance
This commit is contained in:
jean.chalard
2009-08-28 14:22:06 +00:00
parent 2ff279fad8
commit 71e9a3b2cc

View File

@@ -182,6 +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;
unsigned size = 0;
for (vector<MTGCardInstance*>::iterator it = attackers.begin(); it != attackers.end(); ++it)
if (1 < (*it)->blockers.size()) ++size;