diff options
author | shennetsind <ind@henn.et> | 2014-01-13 23:53:31 -0200 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2014-01-13 23:53:31 -0200 |
commit | 18291e8b8834d74e5775baeb296104cfaebe9e54 (patch) | |
tree | b9d8497fa0d2ea73453534a7ccb6bcf5c0d33386 /src/map/itemdb.c | |
parent | e1a0059919dbc4f5c7e803a496b8d150c0a070f5 (diff) | |
parent | 9832e82b0e8dbda38bf4feb18e48cf5335e213ee (diff) | |
download | hercules-18291e8b8834d74e5775baeb296104cfaebe9e54.tar.gz hercules-18291e8b8834d74e5775baeb296104cfaebe9e54.tar.bz2 hercules-18291e8b8834d74e5775baeb296104cfaebe9e54.tar.xz hercules-18291e8b8834d74e5775baeb296104cfaebe9e54.zip |
Merge branch 'master' of https://github.com/HerculesWS/Hercules
Diffstat (limited to 'src/map/itemdb.c')
-rw-r--r-- | src/map/itemdb.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/map/itemdb.c b/src/map/itemdb.c index 3f7d06e36..3bed3e03d 100644 --- a/src/map/itemdb.c +++ b/src/map/itemdb.c @@ -2249,16 +2249,6 @@ void itemdb_name_constants(void) { dbi_destroy(iter); } -/* used to clear conflicts during script reload */ -void itemdb_force_name_constants(void) { - DBIterator *iter = db_iterator(itemdb->names); - struct item_data *data; - - for( data = dbi_first(iter); dbi_exists(iter); data = dbi_next(iter) ) - script->set_constant_force(data->name,data->nameid,0); - - dbi_destroy(iter); -} void do_final_itemdb(void) { itemdb->clear(true); @@ -2286,7 +2276,6 @@ void itemdb_defaults(void) { itemdb->final = do_final_itemdb; itemdb->reload = itemdb_reload; itemdb->name_constants = itemdb_name_constants; - itemdb->force_name_constants = itemdb_force_name_constants; /* */ itemdb->groups = NULL; itemdb->group_count = 0; |