-fix issue 192 (graphical issue when tapped card changes controller)
This commit is contained in:
wagic.the.homebrew@gmail.com
2010-01-15 15:09:41 +00:00
parent fea7985212
commit 187e108cdb
3 changed files with 4 additions and 8 deletions
+1 -7
View File
@@ -148,19 +148,13 @@ MTGCardInstance * MTGPlayerCards::putInZone(MTGCardInstance * card, MTGGameZone
}
MTGCardInstance * ret = copy;
/*if (card->isToken){
if (to != g->players[0]->game->inPlay && to != g->players[1]->game->inPlay){
to = garbage;
ret = NULL;
}
}*/
to->addCard(copy);
copy->changedZoneRecently = 1.f;
GameObserver *g = GameObserver::GetInstance();
WEvent * e = NEW WEventZoneChange(copy, from, to);
g->receiveEvent(e);
//delete e;
return ret;
}
return card; //Error