summaryrefslogtreecommitdiff
path: root/src/map/npc.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-03-18 22:43:41 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-03-18 22:43:41 +0000
commit6ce5dacb5b15f16ff4c672596c091a41a190d687 (patch)
treee2cf5b1ee2869933472b21a3b609ad813fb07652 /src/map/npc.c
parent504f2e94093f05ce66be9bf54a5fa64cf5a53d3d (diff)
downloadhercules-6ce5dacb5b15f16ff4c672596c091a41a190d687.tar.gz
hercules-6ce5dacb5b15f16ff4c672596c091a41a190d687.tar.bz2
hercules-6ce5dacb5b15f16ff4c672596c091a41a190d687.tar.xz
hercules-6ce5dacb5b15f16ff4c672596c091a41a190d687.zip
- Removed the old 'mapserver charsave' mechanism
- Fixed some wrong sql login logic - Fixed some compiler warnings, cleaned up mapserver sql-related vars git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10027 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/npc.c')
-rw-r--r--src/map/npc.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/map/npc.c b/src/map/npc.c
index cb104c11b..edeb6d8d4 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -2345,9 +2345,8 @@ static int npc_parse_function (char *w1, char *w2, char *w3, char *w4, char *fir
script_free_vars( &oldscript->script_vars );
aFree( oldscript->script_buf );
user_db->remove(user_db,str2key(p));
- strdb_put(user_db, p, script);
- } else
- strdb_put(user_db, p, script);
+ }
+ strdb_put(user_db, p, script);
// もう使わないのでバッファ解放
aFree(srcbuf);