summaryrefslogtreecommitdiff
path: root/src/being
diff options
context:
space:
mode:
Diffstat (limited to 'src/being')
-rw-r--r--src/being/localplayer.cpp2
-rw-r--r--src/being/localplayer.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp
index feb6c590a..f8efd716e 100644
--- a/src/being/localplayer.cpp
+++ b/src/being/localplayer.cpp
@@ -933,7 +933,7 @@ void LocalPlayer::setGotoTarget(Being *const target)
setDestination(target->getTileX(), target->getTileY());
}
-void LocalPlayer::handleStatusEffect(StatusEffect *const effect,
+void LocalPlayer::handleStatusEffect(const StatusEffect *const effect,
const int effectId)
{
Being::handleStatusEffect(effect, effectId);
diff --git a/src/being/localplayer.h b/src/being/localplayer.h
index a0ff28dc2..ec789d0d2 100644
--- a/src/being/localplayer.h
+++ b/src/being/localplayer.h
@@ -519,8 +519,8 @@ class LocalPlayer final : public Being,
protected:
void updateCoords() override final;
- void handleStatusEffect(StatusEffect *const effect,
- const int effectId);
+ void handleStatusEffect(const StatusEffect *const effect,
+ const int effectId) override final;
void startWalking(const unsigned char dir);