diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-11-01 00:09:32 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-11-01 00:09:32 +0300 |
commit | 029818ba44703c5151f8d916284e307b05d08fa9 (patch) | |
tree | 785726402146454e69acf1b18ad12f6890e29932 /src/being | |
parent | 1936a2bcfad1b37385aec3d84efabf2570a8c9e8 (diff) | |
download | manaplus-029818ba44703c5151f8d916284e307b05d08fa9.tar.gz manaplus-029818ba44703c5151f8d916284e307b05d08fa9.tar.bz2 manaplus-029818ba44703c5151f8d916284e307b05d08fa9.tar.xz manaplus-029818ba44703c5151f8d916284e307b05d08fa9.zip |
Add configure option --enable-checks for check some calls (disabled by default)
Also add configuration listeners removing in objects.
Diffstat (limited to 'src/being')
-rw-r--r-- | src/being/being.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp index fdd706bbe..ed794a49a 100644 --- a/src/being/being.cpp +++ b/src/being/being.cpp @@ -214,6 +214,7 @@ Being::Being(const int id, const Type type, const uint16_t subtype, Being::~Being() { config.removeListener("visiblenames", this); + CHECKLISTENERS delete [] mSpriteRemap; mSpriteRemap = nullptr; |