diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-12-19 04:48:12 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2019-01-14 19:37:28 +0300 |
commit | 3685cb9b819f4933de5adce45179238e5c790bba (patch) | |
tree | 56ccb7d52f8bd044669b991f33a6255e70666555 /src/map/itemdb.h | |
parent | 9148085c96cc4b9273959ca8c596eeb8bba1f55b (diff) | |
download | hercules-3685cb9b819f4933de5adce45179238e5c790bba.tar.gz hercules-3685cb9b819f4933de5adce45179238e5c790bba.tar.bz2 hercules-3685cb9b819f4933de5adce45179238e5c790bba.tar.xz hercules-3685cb9b819f4933de5adce45179238e5c790bba.zip |
Fix search item by name if id bigger than MAX_ITEMDB
Diffstat (limited to 'src/map/itemdb.h')
-rw-r--r-- | src/map/itemdb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/itemdb.h b/src/map/itemdb.h index 0c08efbeb..315787993 100644 --- a/src/map/itemdb.h +++ b/src/map/itemdb.h @@ -683,6 +683,7 @@ struct itemdb_interface { bool (*is_item_usable) (struct item_data *item); bool (*lookup_const) (const struct config_setting_t *it, const char *name, int *value); bool (*lookup_const_mask) (const struct config_setting_t *it, const char *name, int *value); + int (*addname_sub) (union DBKey key, struct DBData *data, va_list ap); }; #ifdef HERCULES_CORE |