maxcast on curses was being prematurely testDestroyed because isInPlay() returned that the player was not in play :)

This commit is contained in:
omegablast2002@yahoo.com
2012-03-28 11:39:03 +00:00
parent 3b4e8cf27a
commit 13d979a7ac

View File

@@ -4005,7 +4005,7 @@ int MTGAbility::testDestroy()
return 0;
if (!game->isInPlay(source))
return 1;
if (target && !game->isInPlay((MTGCardInstance *) target))
if (target && !dynamic_cast<Player*>(target) && !game->isInPlay((MTGCardInstance *) target))
return 1;
return 0;
}