summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2011-05-30 11:13:31 -0600
committerJared Adams <jaxad0127@gmail.com>2011-05-30 12:35:08 -0600
commit0248b2f58c783f21b7e68a20deadc0a3f942c869 (patch)
treefb9487625c282f59325f0585f08e2efd0683cd39 /src/gui/widgets
parentb69c0511206d68a61fd08042d1c122c9fac22202 (diff)
downloadMana-0248b2f58c783f21b7e68a20deadc0a3f942c869.tar.gz
Mana-0248b2f58c783f21b7e68a20deadc0a3f942c869.tar.bz2
Mana-0248b2f58c783f21b7e68a20deadc0a3f942c869.tar.xz
Mana-0248b2f58c783f21b7e68a20deadc0a3f942c869.zip
Remove some uneeded offsetting
Also fix position of being names. Reviewed-by: Bertram
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/playerbox.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/playerbox.cpp b/src/gui/widgets/playerbox.cpp
index 559ac5a6..f71889bb 100644
--- a/src/gui/widgets/playerbox.cpp
+++ b/src/gui/widgets/playerbox.cpp
@@ -85,8 +85,8 @@ void PlayerBox::draw(gcn::Graphics *graphics)
{
// Draw character
const int bs = getFrameSize();
- const int x = getWidth() / 2 + bs - 16;
- const int y = getHeight() - bs - 32;
+ const int x = getWidth() / 2 + bs;
+ const int y = getHeight() - bs;
mBeing->drawSpriteAt(static_cast<Graphics*>(graphics), x, y);
}