Update CardGui.cpp

Disabled temporary...
This commit is contained in:
Anthony Calosa
2016-08-06 01:40:21 -05:00
committed by GitHub
parent 8a907bb3f3
commit be98e0b543

View File

@@ -1152,13 +1152,13 @@ void CardGui::RenderBig(MTGCard* card, const Pos& pos, bool thumb, bool noborder
{
MTGCard * fcard = MTGCollection()->getCardByName(kcard->name);
quad = WResourceManager::Instance()->RetrieveCard(fcard);
}
}/*
if (kcard->hasCopiedToken && !quad.get())
{
MTGCard * tcard = MTGCollection()->getCardById(abs(kcard->copiedID));
quad = thumb ? WResourceManager::Instance()->RetrieveCardToken(tcard, RETRIEVE_THUMB, 1, abs(kcard->copiedID))
: WResourceManager::Instance()->RetrieveCardToken(tcard, RETRIEVE_NORMAL, 1, abs(kcard->copiedID));
}
}*///temporary disabled this so it will not crash, this must be called when ingame -kevlahnota
if (quad.get())
{
if (quad->mHeight < quad->mWidth)