Merge pull request #693 from kevlahnota/master

Fix possible attacker
This commit is contained in:
Anthony Calosa
2016-06-13 20:52:22 +08:00
committed by GitHub

View File

@@ -253,7 +253,9 @@ bool Player::hasPossibleAttackers()
for (int j = 0; j < nbcards; ++j)
{
MTGCardInstance * c = z->cards[j];
if (c->canAttack())
if (!c->isTapped() &&
!c->hasSummoningSickness() &&
c->isCreature())
return true;
}
return false;