summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorSmokexyz <sagunkho@hotmail.com>2017-04-04 15:15:06 +0800
committerSmokexyz <sagunkho@hotmail.com>2017-04-04 17:00:43 +0800
commit176b7f571307000a8a22cf133041a911127fac5b (patch)
tree9964183dfe53dbb66acf169e56fa54a2979de77c /src/map/battle.c
parent20145c61053479b9acd8ed50c75a80c2a861e349 (diff)
downloadhercules-176b7f571307000a8a22cf133041a911127fac5b.tar.gz
hercules-176b7f571307000a8a22cf133041a911127fac5b.tar.bz2
hercules-176b7f571307000a8a22cf133041a911127fac5b.tar.xz
hercules-176b7f571307000a8a22cf133041a911127fac5b.zip
Unequip arrows when a bow is unequipped. (RE only)
Forces the unequipment of arrows when a bow is unequipped. Based on original PR by @Jedzkie in #1079
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 64fda033f..c2e35842b 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -7320,6 +7320,7 @@ static const struct battle_data {
{ "save_body_style", &battle_config.save_body_style, 0, 0, 1, },
{ "player_warp_keep_direction", &battle_config.player_warp_keep_direction, 0, 0, 1, },
{ "atcommand_levelup_events", &battle_config.atcommand_levelup_events, 0, 0, 1, },
+ { "bow_unequip_arrow", &battle_config.bow_unequip_arrow, 1, 0, 1, },
{ "max_summoner_parameter", &battle_config.max_summoner_parameter, 120, 10, 10000, },
};
#ifndef STATS_OPT_OUT