summaryrefslogtreecommitdiff
path: root/src/being
diff options
context:
space:
mode:
Diffstat (limited to 'src/being')
-rw-r--r--src/being/being.cpp2
-rw-r--r--src/being/being.h8
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
{