diff options
Diffstat (limited to 'src/being')
-rw-r--r-- | src/being/being.h | 8 | ||||
-rw-r--r-- | src/being/localplayer.cpp | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/being/being.h b/src/being/being.h index 4b8a03152..b0c1c26ea 100644 --- a/src/being/being.h +++ b/src/being/being.h @@ -526,10 +526,10 @@ class Being notfinal : public ActorSprite, const int posY) const restrict2 A_NONNULL(2); - virtual void drawSpritesSDL(Graphics *restrict const graphics, - const int posX, - const int posY) const - restrict2 final A_NONNULL(2); + void drawSpritesSDL(Graphics *restrict const graphics, + const int posX, + const int posY) const + restrict2 final A_NONNULL(2); void drawHpBar(Graphics *restrict const graphics, const int maxHP, diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp index 564e17cb9..33cf120d2 100644 --- a/src/being/localplayer.cpp +++ b/src/being/localplayer.cpp @@ -1040,7 +1040,7 @@ void LocalPlayer::handleStatusEffect(const StatusEffect *const effect, } if (!found) - { // add new + { // add new const int offset = CAST_S32(mStatusEffectIcons.size()); if (miniStatusWindow) miniStatusWindow->setIcon(offset, sprite); |