Erwan
-fix issue 221 (legendaries+animate dead)
This commit is contained in:
@@ -58,6 +58,9 @@ animate_artifact2.txt
|
|||||||
animate_dead.txt
|
animate_dead.txt
|
||||||
animate_dead2.txt
|
animate_dead2.txt
|
||||||
animate_dead3.txt
|
animate_dead3.txt
|
||||||
|
animated_legendaries1_i221.txt
|
||||||
|
animated_legendaries2_i221.txt
|
||||||
|
animated_legendaries3_i221.txt
|
||||||
ankh_of_mishra.txt
|
ankh_of_mishra.txt
|
||||||
arcanis_the_omnipotent.txt
|
arcanis_the_omnipotent.txt
|
||||||
arcanis_the_omnipotent2.txt
|
arcanis_the_omnipotent2.txt
|
||||||
|
|||||||
@@ -501,8 +501,8 @@ HUDDisplay::~HUDDisplay(){
|
|||||||
for ( it=cards.begin() ; it != cards.end(); it++ ){
|
for ( it=cards.begin() ; it != cards.end(); it++ ){
|
||||||
MTGCardInstance * comparison = (*it).first;
|
MTGCardInstance * comparison = (*it).first;
|
||||||
if (comparison != card && !(comparison->getName().compare(card->getName()))){
|
if (comparison != card && !(comparison->getName().compare(card->getName()))){
|
||||||
comparison->owner->game->putInGraveyard(comparison);
|
comparison->controller()->game->putInGraveyard(comparison);
|
||||||
destroy = 1;
|
destroy = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (destroy){
|
if (destroy){
|
||||||
|
|||||||
Reference in New Issue
Block a user