This commit is contained in:
Anthony Calosa
2016-07-08 22:57:47 +08:00
parent 10d81bd47a
commit 847e9dffc2
2 changed files with 1 additions and 2 deletions

View File

@@ -3873,8 +3873,6 @@ int AAMover::resolve()
MTGCardInstance * copy = game->players[i]->game->putInZone(_target, fromZone, game->players[i]->game->temp); MTGCardInstance * copy = game->players[i]->game->putInZone(_target, fromZone, game->players[i]->game->temp);
Spell * spell = NEW Spell(game, copy); Spell * spell = NEW Spell(game, copy);
spell->resolve(); spell->resolve();
if(destination == "previousbattlefield")
spell->source->previousController = fromZone->owner;
if(andAbility) if(andAbility)
{ {
MTGAbility * andAbilityClone = andAbility->clone(); MTGAbility * andAbilityClone = andAbility->clone();

View File

@@ -576,6 +576,7 @@ MTGCardInstance * MTGGameZone::removeCard(MTGCardInstance * card, int createCopy
copy->storedCard = card->storedCard; copy->storedCard = card->storedCard;
copy->storedSourceCard = card->storedSourceCard; copy->storedSourceCard = card->storedSourceCard;
copy->lastController = card->controller(); copy->lastController = card->controller();
copy->previousController = card->controller();
for (int i = 0; i < ManaCost::MANA_PAID_WITH_OVERLOAD +1; i++) for (int i = 0; i < ManaCost::MANA_PAID_WITH_OVERLOAD +1; i++)
copy->alternateCostPaid[i] = card->alternateCostPaid[i]; copy->alternateCostPaid[i] = card->alternateCostPaid[i];