summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-03-12 07:13:48 -0600
committerJared Adams <jaxad0127@gmail.com>2009-03-12 07:13:48 -0600
commitf3796c231d5bcac6850fb9afc8db652361e3fceb (patch)
treedf79d9614dc601cfc1ee77fcd42a77caef389858 /src/main.cpp
parente2d60401eaf55abe9e2251854f3174ffe0f4ad9e (diff)
downloadmana-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.cpp5
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;