diff options
author | Lance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-05-23 10:59:36 +0000 |
---|---|---|
committer | Lance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-05-23 10:59:36 +0000 |
commit | 5523bd56dc2b7bdafa3400d58ef2287799cc94da (patch) | |
tree | 1be44064fe1ef2dacaca68fb95f4f07fb0891c9f | |
parent | 9a545eac54af73dabf7a34de89e98a7d30b124f0 (diff) | |
download | hercules-5523bd56dc2b7bdafa3400d58ef2287799cc94da.tar.gz hercules-5523bd56dc2b7bdafa3400d58ef2287799cc94da.tar.bz2 hercules-5523bd56dc2b7bdafa3400d58ef2287799cc94da.tar.xz hercules-5523bd56dc2b7bdafa3400d58ef2287799cc94da.zip |
* 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
-rw-r--r-- | Changelog-Trunk.txt | 2 | ||||
-rw-r--r-- | 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;
|