summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-13 17:51:41 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-13 17:51:41 +0300
commitad0e1575e9532b027e7ad46d5e450fe7ed4389a7 (patch)
tree1d27e912b7827bb2dd6e184c44ba832d8593b2b9 /src/gui
parentf40b3cd12dd2e2c65d02816c450e5645fba84109 (diff)
downloadmanaplus-ad0e1575e9532b027e7ad46d5e450fe7ed4389a7.tar.gz
manaplus-ad0e1575e9532b027e7ad46d5e450fe7ed4389a7.tar.bz2
manaplus-ad0e1575e9532b027e7ad46d5e450fe7ed4389a7.tar.xz
manaplus-ad0e1575e9532b027e7ad46d5e450fe7ed4389a7.zip
Simplify drawing beings in playerbox control.
Diffstat (limited to 'src/gui')
-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 62d4b6bf9..75d1dc872 100644
--- a/src/gui/widgets/playerbox.cpp
+++ b/src/gui/widgets/playerbox.cpp
@@ -125,7 +125,7 @@ void PlayerBox::draw(Graphics *const graphics)
const int bs = mFrameSize;
const int x = mDimension.width / 2 + bs + mOffsetX;
const int y = mDimension.height - bs + mOffsetY;
- mBeing->drawSpriteAt(graphics, x, y);
+ mBeing->drawBasic(graphics, x, y);
}
if (settings.guiAlpha != mAlpha)