summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorgumi <mekolat@users.noreply.github.com>2017-07-31 16:39:33 -0400
committergumi <mekolat@users.noreply.github.com>2017-08-01 10:10:19 -0400
commit4bde7760f12752a385ff065c8d83bc66765b93b8 (patch)
tree179bcdbe28eeb4e655b7b6f78b9d0e9a735bf071 /src/map/battle.c
parent71d694baa88d2beb6ec0f89fb2f8b733898acea5 (diff)
downloadhercules-4bde7760f12752a385ff065c8d83bc66765b93b8.tar.gz
hercules-4bde7760f12752a385ff065c8d83bc66765b93b8.tar.bz2
hercules-4bde7760f12752a385ff065c8d83bc66765b93b8.tar.xz
hercules-4bde7760f12752a385ff065c8d83bc66765b93b8.zip
add option to restrict party leader change to same map
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 57a74bba4..5c8ad95ef 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -7097,6 +7097,7 @@ static const struct battle_data {
{ "vending_over_max", &battle_config.vending_over_max, 1, 0, 1, },
{ "show_steal_in_same_party", &battle_config.show_steal_in_same_party, 0, 0, 1, },
{ "party_hp_mode", &battle_config.party_hp_mode, 0, 0, 1, },
+ { "party_change_leader_same_map", &battle_config.party_change_leader_same_map, 0, 0, 1, },
{ "show_party_share_picker", &battle_config.party_show_share_picker, 1, 0, 1, },
{ "show_picker_item_type", &battle_config.show_picker_item_type, 112, 0, INT_MAX, },
{ "party_update_interval", &battle_config.party_update_interval, 1000, 100, INT_MAX, },