diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-03 18:21:22 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-03 18:21:22 +0300 |
commit | c3baf8df436ed5635afa28fe6853be15658c5c99 (patch) | |
tree | 8267fec4af6c016f68932236de65974a9c7a7e25 | |
parent | b592850c224965729dfb68fcdce486346ab8301a (diff) | |
download | plus-c3baf8df436ed5635afa28fe6853be15658c5c99.tar.gz plus-c3baf8df436ed5635afa28fe6853be15658c5c99.tar.bz2 plus-c3baf8df436ed5635afa28fe6853be15658c5c99.tar.xz plus-c3baf8df436ed5635afa28fe6853be15658c5c99.zip |
Fix status icons.
-rw-r--r-- | src/being/localplayer.cpp | 2 | ||||
-rw-r--r-- | 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); |