summaryrefslogtreecommitdiff
path: root/src/gui/widgets/avatarlistbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/avatarlistbox.cpp')
-rw-r--r--src/gui/widgets/avatarlistbox.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gui/widgets/avatarlistbox.cpp b/src/gui/widgets/avatarlistbox.cpp
index 298ab657a..a71051b5d 100644
--- a/src/gui/widgets/avatarlistbox.cpp
+++ b/src/gui/widgets/avatarlistbox.cpp
@@ -154,7 +154,7 @@ void AvatarListBox::draw(Graphics *graphics)
}
if (parent && a->getMaxHp())
{
- gcn::Color color = Theme::getProgressColor(
+ Color color = Theme::getProgressColor(
Theme::PROG_HP, static_cast<float>(a->getHp())
/ static_cast<float>(a->getMaxHp()));
color.a = 80;
@@ -180,8 +180,7 @@ void AvatarListBox::draw(Graphics *graphics)
if (parent)
{
- gcn::Color color = Theme::getProgressColor(Theme::PROG_HP,
- 1);
+ Color color = Theme::getProgressColor(Theme::PROG_HP, 1);
color.a = 80;
graphics->setColor(color);