- some code cleanup in Damage.cpp (the test suite passes)
This commit is contained in:
wagic.the.homebrew@gmail.com
2010-09-23 13:06:49 +00:00
parent a6a75af52a
commit b6d7496798
3 changed files with 64 additions and 91 deletions
-12
View File
@@ -69,21 +69,9 @@ void DamagerDamaged::Render(CombatStep mode)
}
char buf[6];
// if (currentPlayer != damageSelecter){
/* if (hasLethalDamage()){
mFont->DrawString("X",x,y);
}*/
sprintf(buf, "%i", sumDamages());
mFont->DrawString(buf, actX - 14 * actZ + 5, actY - 14 * actZ);
/*
}else{
mFont->SetColor(ARGB(255,0,0,255));
sprintf(buf, "%i", damageToDeal);
mFont->DrawString(buf,x+5, y+5);
}
mFont->SetColor(ARGB(255,255,255,255));
*/
}