summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
Diffstat (limited to 'src/map')
-rw-r--r--src/map/map.c1
-rw-r--r--src/map/npc.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/map/map.c b/src/map/map.c
index 8261e49..7730b94 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -2113,7 +2113,6 @@ void do_final (void)
delete_session (i);
map_removenpc ();
- timer_final ();
numdb_final (id_db, NULL);
strdb_final (map_db, NULL);
diff --git a/src/map/npc.c b/src/map/npc.c
index 54b13d8..85ac6e9 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -2236,6 +2236,8 @@ int do_final_npc (void)
if (ev_db)
strdb_final (ev_db, ev_db_final);
+ if (npcname_db)
+ strdb_final (npcname_db, NULL);
for (i = START_NPC_NUM; i < npc_id; i++)
{