lastController defined when creating copies of itself

This commit is contained in:
Anthony Calosa
2016-06-30 14:06:21 +08:00
parent 76bb777f4d
commit e6aafbc8a6
4 changed files with 2 additions and 4 deletions
+1
View File
@@ -564,6 +564,7 @@ MTGCardInstance * MTGGameZone::removeCard(MTGCardInstance * card, int createCopy
copy->kicked = card->kicked;
copy->storedCard = card->storedCard;
copy->storedSourceCard = card->storedSourceCard;
copy->lastController = card->controller();
for (int i = 0; i < ManaCost::MANA_PAID_WITH_OVERLOAD +1; i++)
copy->alternateCostPaid[i] = card->alternateCostPaid[i];