summaryrefslogtreecommitdiff
path: root/src/map/npc.c
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2011-03-24 20:24:47 -0700
committerBen Longbons <b.r.longbons@gmail.com>2011-03-24 22:43:26 -0700
commitef740ac0479a5a4f4240db63b84531599a26a983 (patch)
treeacd1f7acfbba606beb4565fe4d520e8721a4d18e /src/map/npc.c
parenta2306446c86b3333e69b082e41ae76ba71a42d9d (diff)
downloadtmwa-ef740ac0479a5a4f4240db63b84531599a26a983.tar.gz
tmwa-ef740ac0479a5a4f4240db63b84531599a26a983.tar.bz2
tmwa-ef740ac0479a5a4f4240db63b84531599a26a983.tar.xz
tmwa-ef740ac0479a5a4f4240db63b84531599a26a983.zip
Fix timer bugs in previous version
The most visible effect of this was that the map-server would never actually connect with the char-server
Diffstat (limited to 'src/map/npc.c')
-rw-r--r--src/map/npc.c2
1 files changed, 2 insertions, 0 deletions
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++)
{