diff --git a/projects/mtg/src/GuiPlay.cpp b/projects/mtg/src/GuiPlay.cpp index 65e0fc534..0baba7f09 100644 --- a/projects/mtg/src/GuiPlay.cpp +++ b/projects/mtg/src/GuiPlay.cpp @@ -218,6 +218,8 @@ int GuiPlay::receiveEventMinus(WEvent * e) for (iterator it = cards.begin(); it != cards.end(); ++it) if (event->card->previous == (*it)->card || event->card == (*it)->card ) { + if (event->card->previous->attacker) battleField.removeAttacker(event->card->previous); + else if (event->card->attacker) battleField.removeAttacker(event->card); CardView* cv = *it; cs->Remove(cv); cards.erase(it);