* Fixed typo (this time it's not my fault) in script_reload() clearing the same db each time o_o

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6708 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
Lance 2006-05-23 10:59:36 +00:00
parent 6dc8e549e4
commit 81efffac73
2 changed files with 5 additions and 3 deletions

View File

@ -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. IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2006/05/23 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] * Fixed sleep command. [Lance]
* Added 'setd' support for local NPC scope (') variables. [Lance] * Added 'setd' support for local NPC scope (') variables. [Lance]
* [Scripting Engine Update] New variables are ready to be used. [Lance] * [Scripting Engine Update] New variables are ready to be used. [Lance]

View File

@ -11965,9 +11965,9 @@ int script_reload()
script_save_mapreg(); script_save_mapreg();
mapreg_db->clear(mapreg_db, NULL); mapreg_db->clear(mapreg_db, NULL);
mapregstr_db->clear(mapreg_db, NULL); mapregstr_db->clear(mapregstr_db, NULL);
userfunc_db->clear(mapreg_db,do_final_userfunc_sub); userfunc_db->clear(userfunc_db,do_final_userfunc_sub);
scriptlabel_db->clear(mapreg_db, NULL); scriptlabel_db->clear(scriptlabel_db, NULL);
if(sleep_db) { if(sleep_db) {
struct linkdb_node *n = (struct linkdb_node *)sleep_db; struct linkdb_node *n = (struct linkdb_node *)sleep_db;