From 5523bd56dc2b7bdafa3400d58ef2287799cc94da Mon Sep 17 00:00:00 2001 From: Lance Date: Tue, 23 May 2006 10:59:36 +0000 Subject: * Fixed typo (this time it's not my fault) in script_reload() clearing the same db each time o_o git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6708 54d463be-8e91-2dee-dedb-b68131a5f0ec --- Changelog-Trunk.txt | 2 ++ src/map/script.c | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index b7424b98d..ccebd115b 100644 --- a/Changelog-Trunk.txt +++ b/Changelog-Trunk.txt @@ -4,6 +4,8 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK. 2006/05/23 + * Fixed typo (this time it's not my fault) in script_reload() clearing the same + db each time o_o [Lance] * Fixed sleep command. [Lance] * Added 'setd' support for local NPC scope (') variables. [Lance] * [Scripting Engine Update] New variables are ready to be used. [Lance] diff --git a/src/map/script.c b/src/map/script.c index e6539bd5c..b5273721b 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -11965,9 +11965,9 @@ int script_reload() script_save_mapreg(); mapreg_db->clear(mapreg_db, NULL); - mapregstr_db->clear(mapreg_db, NULL); - userfunc_db->clear(mapreg_db,do_final_userfunc_sub); - scriptlabel_db->clear(mapreg_db, NULL); + mapregstr_db->clear(mapregstr_db, NULL); + userfunc_db->clear(userfunc_db,do_final_userfunc_sub); + scriptlabel_db->clear(scriptlabel_db, NULL); if(sleep_db) { struct linkdb_node *n = (struct linkdb_node *)sleep_db; -- cgit v1.2.3-70-g09d2