summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog-Trunk.txt2
-rw-r--r--src/map/script.c6
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;