diff options
author | Andrei Karas <akaras@inbox.ru> | 2019-09-30 03:27:33 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2019-09-30 03:30:11 +0300 |
commit | bf9fc1de4c53a88a28be48dbf7cf4795199442d4 (patch) | |
tree | 46018d5b85c669961fb2fe6ab8af06f432139999 /src/being | |
parent | fdf8230a80fa418e4b46dc489e5b2dda7901b55c (diff) | |
download | plus-bf9fc1de4c53a88a28be48dbf7cf4795199442d4.tar.gz plus-bf9fc1de4c53a88a28be48dbf7cf4795199442d4.tar.bz2 plus-bf9fc1de4c53a88a28be48dbf7cf4795199442d4.tar.xz plus-bf9fc1de4c53a88a28be48dbf7cf4795199442d4.zip |
Add missing static keywords
Diffstat (limited to 'src/being')
-rw-r--r-- | src/being/being.cpp | 2 | ||||
-rw-r--r-- | src/being/being.h | 8 |
2 files changed, 5 insertions, 5 deletions
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 { |