summaryrefslogtreecommitdiff
path: root/src/emap/itemdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emap/itemdb.c')
-rw-r--r--src/emap/itemdb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/emap/itemdb.c b/src/emap/itemdb.c
index d9ff7d8..9a47725 100644
--- a/src/emap/itemdb.c
+++ b/src/emap/itemdb.c
@@ -64,6 +64,7 @@ void eitemdb_readdb_additional_fields_pre(int *itemid,
data->floorLifeTime = i32;
if ((t = libconfig->setting_get_member(it, "AllowPickup")))
data->allowPickup = libconfig->setting_get_bool(t) ? 1 : 0;
+ /*
if (libconfig->setting_lookup_int(it, "RequiredStr", &i32) && i32 >= 0)
data->requiredStr = i32;
if (libconfig->setting_lookup_int(it, "RequiredAgi", &i32) && i32 >= 0)
@@ -92,6 +93,7 @@ void eitemdb_readdb_additional_fields_pre(int *itemid,
data->requiredMDef = i32;
if (itemdb->lookup_const(it, "RequiredSkill", &i32))
data->requiredSkill = i32;
+ */
if (libconfig->setting_lookup_bool(it, "Charm", &i32) && i32 >= 0)
data->charmItem = i32 ? true : false;
if (libconfig->setting_lookup_bool(it, "Identified", &i32) && i32 >= 0)