Erwan
-fix issue mentioned at http://wololo.net/forum/viewtopic.php?f=4&t=371&p=6296#p6296 . I touched a very sensitive area of the code so please let me know if something goes wrong with this revision with spells or abilities that involve targets and/or sacrifice
This commit is contained in:
@@ -285,9 +285,9 @@ void GameObserver::stateEffects()
|
||||
card->afterDamage();
|
||||
|
||||
//Remove auras that don't have a valid target anymore
|
||||
if (card->target && !isInPlay(card->target)){
|
||||
players[i]->game->putInGraveyard(card);
|
||||
}
|
||||
if (card->target && !isInPlay(card->target)){
|
||||
players[i]->game->putInGraveyard(card);
|
||||
}
|
||||
}
|
||||
}
|
||||
for (int i =0; i < 2; i++)
|
||||
|
||||
Reference in New Issue
Block a user