Erwan
- fix for issue 348 - Fix a bug when going out of the deck editor then back to it again would show an incorrect color icon instead of nothing - Fix a bug where the AI tries to play a spell with a target instead of just checking if it can play it. (visually, this showed as the AI tapping mana, then "freezing" for a few seconds with some cards grayed out on the battlefield)
This commit is contained in:
@@ -1161,6 +1161,7 @@ void WGuiCardImage::Render(){
|
||||
else
|
||||
q = resources.GetQuad("back");
|
||||
float scale = p.actZ * 257.f / q->mHeight;
|
||||
q->SetColor(ARGB(255,255,255,255));
|
||||
renderer->RenderQuad(q,p.x,p.y,0,scale,scale);
|
||||
}else{ //Have card.
|
||||
if(bThumb){ //Thumbnail.
|
||||
|
||||
Reference in New Issue
Block a user