when ingame, try finding the quad

for copier/cloner when copying token generated cards...
This commit is contained in:
Anthony Calosa
2016-08-06 19:41:34 +08:00
parent 88f0202b16
commit d43693fef0
4 changed files with 21 additions and 17 deletions

View File

@@ -132,7 +132,8 @@ void Interruptible::Render(MTGCardInstance * source, JQuad * targetQuad, string
{
Pos pos = Pos(CardGui::BigWidth / 2, CardGui::BigHeight / 2 - 10, 0.80f, 0.0, 220);
pos.actY = 142;//adjust y a little bit
CardGui::DrawCard(source, pos, observer->getCardSelector()->GetDrawMode());
bool ingame = observer?true:false;
CardGui::DrawCard(source, pos, observer->getCardSelector()->GetDrawMode(),false,false,false,ingame);
}
if (targetQuad)