diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-17 22:00:34 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-17 22:26:06 +0300 |
commit | ef9e8793c77683b46a99daf6a57ca05facc44752 (patch) | |
tree | f152deaa1614295a3a318efada58b0b81723abaa /src/being | |
parent | 55480eb4477b2cf85af1bcdcc5e8ec4f4ce6682d (diff) | |
download | plus-ef9e8793c77683b46a99daf6a57ca05facc44752.tar.gz plus-ef9e8793c77683b46a99daf6a57ca05facc44752.tar.bz2 plus-ef9e8793c77683b46a99daf6a57ca05facc44752.tar.xz plus-ef9e8793c77683b46a99daf6a57ca05facc44752.zip |
Fix code style.
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); |