try to fix segmentation fault
This commit is contained in:
@@ -3873,6 +3873,7 @@ 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;
|
spell->source->previousController = fromZone->owner;
|
||||||
if(andAbility)
|
if(andAbility)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user