quick fix

This commit is contained in:
Anthony Calosa
2017-03-01 21:13:47 +08:00
parent fa5b075af5
commit 8ae3e1ea98
2 changed files with 1 additions and 3 deletions

View File

@@ -717,8 +717,6 @@ void GameObserver::gameStateBasedEffects()
for (int j = zone->nb_cards - 1; j >= 0; j--)
{
MTGCardInstance * card = zone->cards[j];
//lastcontroller zone update
card->lastController = players[i];
card->entersBattlefield = 0;
card->LKIpower = card->power;
card->LKItoughness = card->toughness;

View File

@@ -1144,7 +1144,7 @@ MTGGameZone * MTGGameZone::intToZone(GameObserver *g, int zoneId, MTGCardInstanc
//p2 should be either of this two...
if(p != p2 && p->opponent() != p2)
return NULL;
p2 = p;
MTGGameZone * result = intToZone(zoneId, p, p2);
if (result) return result;