-fix a display bug (shadow over non targettable cards) intriduced in revision 1007
This commit is contained in:
wagic.the.homebrew@gmail.com
2009-09-30 15:12:07 +00:00
parent 25ab86ab88
commit d77960ede9

View File

@@ -106,7 +106,7 @@ void CardGui::Render()
if (tc && !tc->canTarget(card)) {
shadow->SetColor(ARGB(200,255,255,255));
renderer->RenderQuad(shadow, actX, actY, actT, 28*actZ/16 + 1, 40*actZ/16);
renderer->RenderQuad(shadow, actX, actY, actT, (28*actZ + 1)/16 , 40*actZ/16);
}
PlayGuiObject::Render();