diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-03-12 07:13:48 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-03-12 07:13:48 -0600 |
commit | f3796c231d5bcac6850fb9afc8db652361e3fceb (patch) | |
tree | df79d9614dc601cfc1ee77fcd42a77caef389858 /src/main.cpp | |
parent | e2d60401eaf55abe9e2251854f3174ffe0f4ad9e (diff) | |
download | mana-f3796c231d5bcac6850fb9afc8db652361e3fceb.tar.gz mana-f3796c231d5bcac6850fb9afc8db652361e3fceb.tar.bz2 mana-f3796c231d5bcac6850fb9afc8db652361e3fceb.tar.xz mana-f3796c231d5bcac6850fb9afc8db652361e3fceb.zip |
Fix leaks in status effects
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 0034fc60..f1424096 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -51,6 +51,7 @@ #include "player_relations.h" #include "serverinfo.h" #include "sound.h" +#include "statuseffect.h" #include "units.h" #include "gui/button.h" @@ -488,6 +489,7 @@ void exit_engine() ItemDB::unload(); MonsterDB::unload(); NPCDB::unload(); + StatusEffect::unload(); ResourceManager::deleteInstance(); delete logger; @@ -946,7 +948,8 @@ int main(int argc, char *argv[]) MonsterDB::load(); NPCDB::load(); EmoteDB::load(); - Being::load(); // Hairstyles and emotions + StatusEffect::load(); + Being::load(); // Hairstyles state = CHAR_CONNECT_STATE; break; |