From 0d06cc2ed6bbf6b6f53619e56cbd2fbda2a480a0 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 25 Dec 2013 21:36:32 +0300 Subject: add option for enable/disable pets support. --- src/being/being.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/being') 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(); -- cgit v1.2.3-70-g09d2