diff options
author | Chuck Miller <shadowmil@gmail.com> | 2010-01-15 23:35:30 -0500 |
---|---|---|
committer | Chuck Miller <shadowmil@gmail.com> | 2010-01-15 23:38:07 -0500 |
commit | b278542da029c629736be8605a9b4d85a6f2b902 (patch) | |
tree | e935cf888be4e88d5f471654a27fbdf512ab537b /src/gui/widgets/playerbox.cpp | |
parent | c5e241b276bcbf725309360edc2bdf033f49e98e (diff) | |
download | mana-client-b278542da029c629736be8605a9b4d85a6f2b902.tar.gz mana-client-b278542da029c629736be8605a9b4d85a6f2b902.tar.bz2 mana-client-b278542da029c629736be8605a9b4d85a6f2b902.tar.xz mana-client-b278542da029c629736be8605a9b4d85a6f2b902.zip |
Fixes drawing sprite in the playerbox widget.
Diffstat (limited to 'src/gui/widgets/playerbox.cpp')
-rw-r--r-- | src/gui/widgets/playerbox.cpp | 2 |
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) |