diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-12-25 21:36:32 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-12-25 21:36:32 +0300 |
commit | 0d06cc2ed6bbf6b6f53619e56cbd2fbda2a480a0 (patch) | |
tree | b7c361d537a95b6c4321b8f6037e41ff86af6630 /src/being | |
parent | 8357e89fc0923f4b97cf8b990a4ffba2716bfabf (diff) | |
download | plus-0d06cc2ed6bbf6b6f53619e56cbd2fbda2a480a0.tar.gz plus-0d06cc2ed6bbf6b6f53619e56cbd2fbda2a480a0.tar.bz2 plus-0d06cc2ed6bbf6b6f53619e56cbd2fbda2a480a0.tar.xz plus-0d06cc2ed6bbf6b6f53619e56cbd2fbda2a480a0.zip |
add option for enable/disable pets support.
Diffstat (limited to 'src/being')
-rw-r--r-- | src/being/being.cpp | 2 |
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(); |