From bf9fc1de4c53a88a28be48dbf7cf4795199442d4 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 30 Sep 2019 03:27:33 +0300 Subject: Add missing static keywords --- src/being/being.cpp | 2 +- src/being/being.h | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src/being') diff --git a/src/being/being.cpp b/src/being/being.cpp index 74942999e..0459d83e9 100644 --- a/src/being/being.cpp +++ b/src/being/being.cpp @@ -869,7 +869,7 @@ void Being::takeDamage(Being *restrict const attacker, int Being::getHitEffect(const Being *restrict const attacker, const AttackTypeT type, const int attackId, - const int level) const restrict2 + const int level) { if (effectManager == nullptr) return 0; diff --git a/src/being/being.h b/src/being/being.h index f42cae281..0dd0a5743 100644 --- a/src/being/being.h +++ b/src/being/being.h @@ -884,10 +884,10 @@ class Being notfinal : public ActorSprite, void recalcSpritesOrder() restrict2; - int getHitEffect(const Being *restrict const attacker, - const AttackTypeT type, - const int attackId, - const int level) const restrict2 A_WARN_UNUSED; + static int getHitEffect(const Being *restrict const attacker, + const AttackTypeT type, + const int attackId, + const int level); CursorT getHoverCursor() const restrict2 A_WARN_UNUSED { -- cgit v1.2.3-60-g2f50