summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenpachi Developer <Kenpachi.Developer@gmx.de>2020-06-28 02:37:30 +0200
committerKenpachi Developer <Kenpachi.Developer@gmx.de>2020-06-28 02:37:30 +0200
commit753474e217a962a6a109d80fa58f68322a873597 (patch)
treeb3ab235e390cc0c6c094fd30f0a5943f9f7678be
parent6cac57464c0242e761a11012525e4d5c11ae5714 (diff)
downloadhercules-753474e217a962a6a109d80fa58f68322a873597.tar.gz
hercules-753474e217a962a6a109d80fa58f68322a873597.tar.bz2
hercules-753474e217a962a6a109d80fa58f68322a873597.tar.xz
hercules-753474e217a962a6a109d80fa58f68322a873597.zip
Set maximum value of item_enabled_npc battle flag to 3
-rw-r--r--src/map/battle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index 611154953..7b7b52a10 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, INT_MAX, },
+ { "item_enabled_npc", &battle_config.item_enabled_npc, 1, 0, 3, },
{ "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, },