-fix issue 221 (legendaries+animate dead)
This commit is contained in:
wagic.the.homebrew@gmail.com
2009-12-03 14:04:05 +00:00
parent a58e414a5f
commit 5020d41023
5 changed files with 5 additions and 2 deletions
+3
View File
@@ -58,6 +58,9 @@ animate_artifact2.txt
animate_dead.txt
animate_dead2.txt
animate_dead3.txt
animated_legendaries1_i221.txt
animated_legendaries2_i221.txt
animated_legendaries3_i221.txt
ankh_of_mishra.txt
arcanis_the_omnipotent.txt
arcanis_the_omnipotent2.txt
+2 -2
View File
@@ -501,8 +501,8 @@ HUDDisplay::~HUDDisplay(){
for ( it=cards.begin() ; it != cards.end(); it++ ){
MTGCardInstance * comparison = (*it).first;
if (comparison != card && !(comparison->getName().compare(card->getName()))){
comparison->owner->game->putInGraveyard(comparison);
destroy = 1;
comparison->controller()->game->putInGraveyard(comparison);
destroy = 1;
}
}
if (destroy){