summaryrefslogtreecommitdiff
path: root/src/gui/widgets/playerbox.cpp
diff options
context:
space:
mode:
authorChuck Miller <shadowmil@gmail.com>2010-01-15 23:35:30 -0500
committerChuck Miller <shadowmil@gmail.com>2010-01-15 23:38:07 -0500
commitb278542da029c629736be8605a9b4d85a6f2b902 (patch)
treee935cf888be4e88d5f471654a27fbdf512ab537b /src/gui/widgets/playerbox.cpp
parentc5e241b276bcbf725309360edc2bdf033f49e98e (diff)
downloadmana-b278542da029c629736be8605a9b4d85a6f2b902.tar.gz
mana-b278542da029c629736be8605a9b4d85a6f2b902.tar.bz2
mana-b278542da029c629736be8605a9b4d85a6f2b902.tar.xz
mana-b278542da029c629736be8605a9b4d85a6f2b902.zip
Fixes drawing sprite in the playerbox widget.
Diffstat (limited to 'src/gui/widgets/playerbox.cpp')
-rw-r--r--src/gui/widgets/playerbox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/playerbox.cpp b/src/gui/widgets/playerbox.cpp
index 4c499c36..9419616e 100644
--- a/src/gui/widgets/playerbox.cpp
+++ b/src/gui/widgets/playerbox.cpp
@@ -86,7 +86,7 @@ void PlayerBox::draw(gcn::Graphics *graphics)
const int bs = getFrameSize();
const int x = getWidth() / 2 + bs;
const int y = getHeight() - bs;
- mPlayer->draw(static_cast<Graphics*>(graphics), x, y);
+ mPlayer->drawSpriteAt(static_cast<Graphics*>(graphics), x, y);
}
if (config.getValue("guialpha", 0.8) != mAlpha)