diff options
Diffstat (limited to 'src/actormanager.h')
-rw-r--r-- | src/actormanager.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/actormanager.h b/src/actormanager.h index f7e306b2a..df5d7ab38 100644 --- a/src/actormanager.h +++ b/src/actormanager.h @@ -251,10 +251,10 @@ class ActorManager final: public ConfigListener void addIgnorePickupItem(const std::string &name); - void setPriorityAttackMobs(std::list<std::string> mobs) + void setPriorityAttackMobs(const std::list<std::string> &mobs) { mPriorityAttackMobs = mobs; } - void setAttackMobs(std::list<std::string> mobs) + void setAttackMobs(const std::list<std::string> &mobs) { mAttackMobs = mobs; } int getPriorityAttackMobsSize() const A_WARN_UNUSED |