summaryrefslogtreecommitdiff
path: root/src/being
diff options
context:
space:
mode:
Diffstat (limited to 'src/being')
-rw-r--r--src/being/being.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp
index 7a3a198c1..bdd18b439 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -3185,7 +3185,7 @@ void Being::addEffect(const std::string &name)
void Being::addPet(const int id)
{
- if (!actorManager)
+ if (!actorManager || !config.getBoolValue("usepets"))
return;
removePet();