fix avatar scaling on guicombat, border on combat

This commit is contained in:
Anthony Calosa
2015-10-11 23:04:28 +08:00
parent 4c86cae7fe
commit c7b9e6f9b8
5 changed files with 12 additions and 9 deletions

View File

@@ -162,7 +162,8 @@ void GuiPlay::BattleField::Render()
if (height > 3)
{
JRenderer::GetInstance()->FillRect(0, SCREEN_HEIGHT / 2 + 8.5f - height / 2, 480, height, ARGB(127, red, 0, 0));
JRenderer::GetInstance()->DrawRect(0, SCREEN_HEIGHT / 2 + 8.5f - height / 2, 480, height, ARGB(255, 255, 165, 0));
if(red > 1)
JRenderer::GetInstance()->DrawRect(-2, SCREEN_HEIGHT / 2 + 8.5f - height / 2, 484, height, ARGB(255, 255, 165, 0));
}
}