summaryrefslogtreecommitdiff
path: root/src/being
diff options
context:
space:
mode:
Diffstat (limited to 'src/being')
-rw-r--r--src/being/being.cpp7
-rw-r--r--src/being/being.h4
2 files changed, 11 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
diff --git a/src/being/being.h b/src/being/being.h
index 31c28d28f..8d95205fd 100644
--- a/src/being/being.h
+++ b/src/being/being.h
@@ -631,6 +631,10 @@ class Being notfinal : public ActorSprite,
const int offsetY) const
restrict2 override final A_NONNULL(2);
+ void drawBasic(Graphics *restrict const graphics,
+ const int x,
+ const int y) const restrict2 A_NONNULL(2);
+
void drawSpriteAt(Graphics *restrict const graphics,
const int x,
const int y) const restrict2 A_NONNULL(2);