-fix issue 252 (equipment goes to graveyard)
This commit is contained in:
wagic.the.homebrew@gmail.com
2010-01-05 13:48:17 +00:00
parent 2ea7de5a3a
commit 2285821d36
3 changed files with 46 additions and 1 deletions

View File

@@ -291,7 +291,7 @@ void GameObserver::stateEffects()
card->afterDamage();
//Remove auras that don't have a valid target anymore
if (card->target && !isInPlay(card->target)){
if (card->target && !isInPlay(card->target) && !card->hasType("equipment")){
players[i]->game->putInGraveyard(card);
}
}