diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-11-03 10:18:25 -0700 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-11-03 10:18:25 -0700 |
commit | acd557f9472c711fe92b9c158ec336abf688bf7b (patch) | |
tree | 2295d13589411ee88afe16f4997bea65b4ebba94 /src/gui/playerbox.cpp | |
parent | c60d3a98dbbb20621742bfd82bbaaa6b7085a8ae (diff) | |
download | mana-acd557f9472c711fe92b9c158ec336abf688bf7b.tar.gz mana-acd557f9472c711fe92b9c158ec336abf688bf7b.tar.bz2 mana-acd557f9472c711fe92b9c158ec336abf688bf7b.tar.xz mana-acd557f9472c711fe92b9c158ec336abf688bf7b.zip |
Remove more _SUPPORT ifdefs and do some cleanup
Diffstat (limited to 'src/gui/playerbox.cpp')
-rw-r--r-- | src/gui/playerbox.cpp | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/src/gui/playerbox.cpp b/src/gui/playerbox.cpp index aecca0c6..70af6690 100644 --- a/src/gui/playerbox.cpp +++ b/src/gui/playerbox.cpp @@ -82,21 +82,9 @@ void PlayerBox::draw(gcn::Graphics *graphics) { // Draw character const int bs = getFrameSize(); -//#ifdef MANASERV_SUPPORT const int x = getWidth() / 2 + bs; - const int y = getHeight() - bs - 8; + const int y = getHeight() - bs; mPlayer->draw(static_cast<Graphics*>(graphics), x, y); -/*#else - const int x = getWidth() / 2 - 16 + bs; - const int y = getHeight() / 2 + bs; - for (int i = 0; i < Being::VECTOREND_SPRITE; i++) - { - if (mPlayer->getSprite(i)) - { - mPlayer->getSprite(i)->draw(static_cast<Graphics*>(graphics), x, y); - } - } -#endif*/ } if (config.getValue("guialpha", 0.8) != mAlpha) |