* fixed some formatting
* pruned out unused local variables. ---- There's no need to define something if it isn't going to be referenced. It consumes extra memory temporarily and more than anything is a potential cause for confusion down the road.
This commit is contained in:
@@ -698,7 +698,7 @@ void CardGui::TinyCropRender(MTGCard * card, const Pos& pos, JQuad * quad)
|
||||
++j;
|
||||
}
|
||||
//Has X?
|
||||
if (int cost = manacost->hasX())
|
||||
if (manacost->hasX())
|
||||
{
|
||||
char buffer[10];
|
||||
sprintf(buffer, "X");
|
||||
|
||||
Reference in New Issue
Block a user