summaryrefslogtreecommitdiff
path: root/src/map/npc.c
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-05-26 21:49:36 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-05-26 21:49:36 +0000
commit5f5cd93f2da3377ce3b9ae45d4a15a944a723517 (patch)
treedb90d3aa9e10b9b18aa5339b6c63f531ef8541fd /src/map/npc.c
parente576f13c95750f3c2b8fc3e764ab2b80f76df8b9 (diff)
downloadhercules-5f5cd93f2da3377ce3b9ae45d4a15a944a723517.tar.gz
hercules-5f5cd93f2da3377ce3b9ae45d4a15a944a723517.tar.bz2
hercules-5f5cd93f2da3377ce3b9ae45d4a15a944a723517.tar.xz
hercules-5f5cd93f2da3377ce3b9ae45d4a15a944a723517.zip
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
Diffstat (limited to 'src/map/npc.c')
-rw-r--r--src/map/npc.c2
1 files changed, 1 insertions, 1 deletions
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);