summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authormalufett <malufett.eat.my.binaries@gmail.com>2013-02-27 02:23:06 +0800
committermalufett <malufett.eat.my.binaries@gmail.com>2013-02-27 02:23:06 +0800
commitad792f41994ce54dc9e45fbdaaf591f38fccecee (patch)
tree2f9042554878cd443db1b422358ace08c92a6dc1 /src/map/battle.c
parent06526e32ea7608dfc62ad5aeca91cf78ff3a446f (diff)
downloadhercules-ad792f41994ce54dc9e45fbdaaf591f38fccecee.tar.gz
hercules-ad792f41994ce54dc9e45fbdaaf591f38fccecee.tar.bz2
hercules-ad792f41994ce54dc9e45fbdaaf591f38fccecee.tar.xz
hercules-ad792f41994ce54dc9e45fbdaaf591f38fccecee.zip
Fixed Bug #6527
-Where all NPC don't allow changing of equipments by default and now can be set in 'items.conf'.
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index 7fc9ad237..949b91a29 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -5913,6 +5913,7 @@ static const struct _battle_data {
{ "skill_trap_type", &battle_config.skill_trap_type, 0, 0, 1, },
{ "item_restricted_consumption_type", &battle_config.item_restricted_consumption_type,1, 0, 1, },
{ "max_walk_path", &battle_config.max_walk_path, 17, 1, MAX_WALKPATH, },
+ { "item_enabled_npc", &battle_config.item_enabled_npc, 1, 0, 1, },
};
#ifndef STATS_OPT_OUT
/**