summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-03 18:21:22 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-03 18:21:22 +0300
commitc3baf8df436ed5635afa28fe6853be15658c5c99 (patch)
tree8267fec4af6c016f68932236de65974a9c7a7e25
parentb592850c224965729dfb68fcdce486346ab8301a (diff)
downloadmanaverse-c3baf8df436ed5635afa28fe6853be15658c5c99.tar.gz
manaverse-c3baf8df436ed5635afa28fe6853be15658c5c99.tar.bz2
manaverse-c3baf8df436ed5635afa28fe6853be15658c5c99.tar.xz
manaverse-c3baf8df436ed5635afa28fe6853be15658c5c99.zip
Fix status icons.
-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);