From 5f5cd93f2da3377ce3b9ae45d4a15a944a723517 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Sat, 26 May 2012 21:49:36 +0000 Subject: Fixed bugreport:5658 Instance NPCs will now be cleared properly. Super-Special Thanks to Pig321 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16153 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/npc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/npc.c') diff --git a/src/map/npc.c b/src/map/npc.c index 4f08d28f5..9cfce37ac 100644 --- a/src/map/npc.c +++ b/src/map/npc.c @@ -1739,7 +1739,7 @@ int npc_unload(struct npc_data* nd, bool single) { npc_remove_map(nd); map_deliddb(&nd->bl); if( single ) - strdb_remove(npcname_db, nd->exname); + strdb_remove(npcname_db, nd->exname); if (nd->chat_id) // remove npc chatroom object and kick users chat_deletenpcchat(nd); -- cgit v1.2.3-70-g09d2