J :
* 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:
@@ -182,6 +182,7 @@ int GuiCombat::receiveEventMinus(WEvent* e)
|
|||||||
else if (WEventBlockersAssigned* event = dynamic_cast<WEventBlockersAssigned*>(e))
|
else if (WEventBlockersAssigned* event = dynamic_cast<WEventBlockersAssigned*>(e))
|
||||||
{
|
{
|
||||||
if (active) return 0; // Why do I take this event twice >.>
|
if (active) return 0; // Why do I take this event twice >.>
|
||||||
|
if (go->currentlyActing()->isAI()) return 0;
|
||||||
unsigned size = 0;
|
unsigned size = 0;
|
||||||
for (vector<MTGCardInstance*>::iterator it = attackers.begin(); it != attackers.end(); ++it)
|
for (vector<MTGCardInstance*>::iterator it = attackers.begin(); it != attackers.end(); ++it)
|
||||||
if (1 < (*it)->blockers.size()) ++size;
|
if (1 < (*it)->blockers.size()) ++size;
|
||||||
|
|||||||
Reference in New Issue
Block a user