From c3baf8df436ed5635afa28fe6853be15658c5c99 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 3 May 2014 18:21:22 +0300 Subject: Fix status icons. --- src/being/localplayer.cpp | 2 +- src/being/localplayer.h | 4 ++-- 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); -- cgit v1.2.3-70-g09d2