* 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:
techdragon.nguyen@gmail.com
2011-05-08 11:56:25 +00:00
parent 2c34aaf8a5
commit 82058e97c5
9 changed files with 21 additions and 29 deletions

View File

@@ -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");