quick fix
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user