summaryrefslogtreecommitdiff
path: root/src/actorspritemanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/actorspritemanager.cpp')
-rw-r--r--src/actorspritemanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/actorspritemanager.cpp b/src/actorspritemanager.cpp
index a9897872b..90a71aaee 100644
--- a/src/actorspritemanager.cpp
+++ b/src/actorspritemanager.cpp
@@ -842,7 +842,7 @@ Being *ActorSpriteManager::findNearestLivingBeing(const Being *const
Being *ActorSpriteManager::findNearestLivingBeing(const Being *const
aroundBeing, int maxDist,
- const Being::Type type,
+ const Being::Type &type,
const int x, const int y,
const Being *const
excluded) const
@@ -1653,7 +1653,7 @@ bool ActorSpriteManager::checkForPickup(const FloorItem *const item) const
}
void ActorSpriteManager::updateEffects(const std::map<int, int> &addEffects,
- const std::set<int> removeEffects)
+ const std::set<int> &removeEffects)
{
for_actors
{