diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-03-11 18:09:33 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-03-11 18:09:33 +0300 |
commit | 17dcb835103ac05012c5a7eafa8c7702cef53390 (patch) | |
tree | 422c28adfba13f2161fcfc36943a3903e531490b /src/actorspritemanager.h | |
parent | 84d53b7bb98bb44696ed1bc2c3f132e51394ac00 (diff) | |
download | manaverse-17dcb835103ac05012c5a7eafa8c7702cef53390.tar.gz manaverse-17dcb835103ac05012c5a7eafa8c7702cef53390.tar.bz2 manaverse-17dcb835103ac05012c5a7eafa8c7702cef53390.tar.xz manaverse-17dcb835103ac05012c5a7eafa8c7702cef53390.zip |
Add some fixes after automatic checks.
Diffstat (limited to 'src/actorspritemanager.h')
-rw-r--r-- | src/actorspritemanager.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/actorspritemanager.h b/src/actorspritemanager.h index 59cd53962..cdf85e471 100644 --- a/src/actorspritemanager.h +++ b/src/actorspritemanager.h @@ -300,7 +300,7 @@ class ActorSpriteManager final: public ConfigListener bool checkForPickup(const FloorItem *const item) const A_WARN_UNUSED; void updateEffects(const std::map<int, int> &addEffects, - const std::set<int> removeEffects); + const std::set<int> &removeEffects); protected: bool validateBeing(const Being *const aroundBeing, @@ -311,7 +311,7 @@ class ActorSpriteManager final: public ConfigListener Being *findNearestLivingBeing(const Being *const aroundBeing, const int maxdist, - const Being::Type type, + const Being::Type &type, const int x, const int y, const Being *const excluded = nullptr) const A_WARN_UNUSED; |