diff options
-rw-r--r-- | Changelog-Trunk.txt | 2 | ||||
-rw-r--r-- | src/map/itemdb.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index 9540bb1ee..832868581 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/07/10
+ * itemdb_reload will clear the itemdb before reloading info instead of only
+ clearing the scripts now. [Skotlex]
* Some cleaning of skill_castend_pos2, fixed Gospel, and a
map_freeblock_unlock misplacement. [Skotlex]
* Sense/Estimation will now display the mob info window to all party
diff --git a/src/map/itemdb.c b/src/map/itemdb.c index c535b8674..56b1182b7 100644 --- a/src/map/itemdb.c +++ b/src/map/itemdb.c @@ -1193,7 +1193,7 @@ static int itemdb_final_sub (DBKey key,void *data,va_list ap) void itemdb_reload(void)
{
// free up all item scripts first
- item_db->foreach(item_db, itemdb_final_sub, 0);
+ item_db->clear(item_db, itemdb_final_sub, 0);
itemdb_read();
}
|