summaryrefslogtreecommitdiff
path: root/src/being/being.cpp
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/being/being.cpp
parentf40b3cd12dd2e2c65d02816c450e5645fba84109 (diff)
downloadplus-ad0e1575e9532b027e7ad46d5e450fe7ed4389a7.tar.gz
plus-ad0e1575e9532b027e7ad46d5e450fe7ed4389a7.tar.bz2
plus-ad0e1575e9532b027e7ad46d5e450fe7ed4389a7.tar.xz
plus-ad0e1575e9532b027e7ad46d5e450fe7ed4389a7.zip
Simplify drawing beings in playerbox control.
Diffstat (limited to 'src/being/being.cpp')
-rw-r--r--src/being/being.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp
index 9b8be8ec8..4565e6f01 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -2918,6 +2918,13 @@ void Being::drawSpritesSDL(Graphics *restrict const graphics,
}
}
+void Being::drawBasic(Graphics *restrict const graphics,
+ const int x,
+ const int y) const restrict2
+{
+ CompoundSprite::draw(graphics, x, y);
+}
+
void Being::drawSpriteAt(Graphics *restrict const graphics,
const int x,
const int y) const restrict2