diff options
author | Kenpachi Developer <Kenpachi.Developer@gmx.de> | 2020-05-10 03:02:56 +0200 |
---|---|---|
committer | Kenpachi Developer <Kenpachi.Developer@gmx.de> | 2020-05-13 04:53:29 +0200 |
commit | a271110b6c53cf268747ab74d1471452909c5272 (patch) | |
tree | d1023faba69fcb2506989427257ed64a1b7ed87e /src/map/battle.c | |
parent | 944d8489f1bcca93e6b2ff06a159084f064dce12 (diff) | |
download | hercules-a271110b6c53cf268747ab74d1471452909c5272.tar.gz hercules-a271110b6c53cf268747ab74d1471452909c5272.tar.bz2 hercules-a271110b6c53cf268747ab74d1471452909c5272.tar.xz hercules-a271110b6c53cf268747ab74d1471452909c5272.zip |
Extend item_enabled_npc battle flag with option for usable items
Diffstat (limited to 'src/map/battle.c')
-rw-r--r-- | src/map/battle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/battle.c b/src/map/battle.c index c8cd71b94..cf51f4fc5 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -7378,7 +7378,7 @@ static const struct battle_data { { "item_restricted_consumption_type", &battle_config.item_restricted_consumption_type,1, 0, 1, }, { "unequip_restricted_equipment", &battle_config.unequip_restricted_equipment, 0, 0, 3, }, { "max_walk_path", &battle_config.max_walk_path, 17, 1, MAX_WALKPATH, }, - { "item_enabled_npc", &battle_config.item_enabled_npc, 1, 0, 1, }, + { "item_enabled_npc", &battle_config.item_enabled_npc, 1, 0, INT_MAX, }, { "gm_ignore_warpable_area", &battle_config.gm_ignore_warpable_area, 0, 2, 100, }, { "packet_obfuscation", &battle_config.packet_obfuscation, 1, 0, 3, }, { "client_accept_chatdori", &battle_config.client_accept_chatdori, 0, 0, INT_MAX, }, |