summaryrefslogtreecommitdiff
path: root/src/being
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-17 22:00:34 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-17 22:26:06 +0300
commitef9e8793c77683b46a99daf6a57ca05facc44752 (patch)
treef152deaa1614295a3a318efada58b0b81723abaa /src/being
parent55480eb4477b2cf85af1bcdcc5e8ec4f4ce6682d (diff)
downloadmanaplus-ef9e8793c77683b46a99daf6a57ca05facc44752.tar.gz
manaplus-ef9e8793c77683b46a99daf6a57ca05facc44752.tar.bz2
manaplus-ef9e8793c77683b46a99daf6a57ca05facc44752.tar.xz
manaplus-ef9e8793c77683b46a99daf6a57ca05facc44752.zip
Fix code style.
Diffstat (limited to 'src/being')
-rw-r--r--src/being/being.h8
-rw-r--r--src/being/localplayer.cpp2
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);