summaryrefslogtreecommitdiff
path: root/src/actorspritemanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-11 18:09:33 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-11 18:09:33 +0300
commit17dcb835103ac05012c5a7eafa8c7702cef53390 (patch)
tree422c28adfba13f2161fcfc36943a3903e531490b /src/actorspritemanager.h
parent84d53b7bb98bb44696ed1bc2c3f132e51394ac00 (diff)
downloadmv-17dcb835103ac05012c5a7eafa8c7702cef53390.tar.gz
mv-17dcb835103ac05012c5a7eafa8c7702cef53390.tar.bz2
mv-17dcb835103ac05012c5a7eafa8c7702cef53390.tar.xz
mv-17dcb835103ac05012c5a7eafa8c7702cef53390.zip
Add some fixes after automatic checks.
Diffstat (limited to 'src/actorspritemanager.h')
-rw-r--r--src/actorspritemanager.h4
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;