summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 01250594..db9f85ac 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -78,6 +78,7 @@
#include "resources/image.h"
#include "resources/itemdb.h"
#include "resources/monsterdb.h"
+#include "resources/npcdb.h"
#include "resources/resourcemanager.h"
#include "utils/dtor.h"
@@ -357,6 +358,7 @@ void exit_engine()
// Unload XML databases
ItemDB::unload();
MonsterDB::unload();
+ NPCDB::unload();
ResourceManager::deleteInstance();
delete logger;
@@ -742,6 +744,7 @@ int main(int argc, char *argv[])
// Load XML databases
ItemDB::load();
MonsterDB::load();
+ NPCDB::load();
state = LOGIN_STATE;
break;