summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-10-27 05:36:46 +0000
committerLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-10-27 05:36:46 +0000
commit7be12e16dd619b6359c8a18d10bc53ce8965690a (patch)
tree435520df7308f8841f63144cf9334cf2ec20ffc8
parent3c55cc9c5578d8041fd8b7249b5ecf063fd983d3 (diff)
downloadhercules-7be12e16dd619b6359c8a18d10bc53ce8965690a.tar.gz
hercules-7be12e16dd619b6359c8a18d10bc53ce8965690a.tar.bz2
hercules-7be12e16dd619b6359c8a18d10bc53ce8965690a.tar.xz
hercules-7be12e16dd619b6359c8a18d10bc53ce8965690a.zip
modified src/map/npc.c
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9085 54d463be-8e91-2dee-dedb-b68131a5f0ec
-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 448bd18aa..9c77460d4 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -2161,7 +2161,7 @@ static int npc_parse_function (char *w1, char *w2, char *w3, char *w4, char *fir
// Experimental function overwriting - [Lance]
ShowInfo("parse_function: Overwriting user function [%s] (%s:%d)\n", p, file, *lines);
script_free_code(oldscript);
- user_db->remove(user_db,p);
+ user_db->remove(user_db,str2key(p));
strdb_put(user_db, p, script);
} else
strdb_put(user_db, p, script);