From ad0e1575e9532b027e7ad46d5e450fe7ed4389a7 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 13 Mar 2016 17:51:41 +0300 Subject: Simplify drawing beings in playerbox control. --- src/being/being.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/being/being.cpp') 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 -- cgit v1.2.3-70-g09d2