summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorJedzkie <jedzkie13@rocketmail.com>2020-05-31 15:24:13 +0800
committerHaru <haru@dotalux.com>2020-06-28 19:29:47 +0200
commit8f32cfd4efb6892f7647f9bb3173ffb43c94ba94 (patch)
tree043385dbdbe055791297b9d96c40b332b0a456b5 /src/map/battle.c
parenta6d5893396ce96926b98ffd1cfe4d2a1f205fc0d (diff)
downloadhercules-8f32cfd4efb6892f7647f9bb3173ffb43c94ba94.tar.gz
hercules-8f32cfd4efb6892f7647f9bb3173ffb43c94ba94.tar.bz2
hercules-8f32cfd4efb6892f7647f9bb3173ffb43c94ba94.tar.xz
hercules-8f32cfd4efb6892f7647f9bb3173ffb43c94ba94.zip
Storage now closes when using teleport skill.
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 b5c0cf4fa..689622cf4 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -7456,6 +7456,7 @@ static const struct battle_data {
{ "autoloot_adjust", &battle_config.autoloot_adjust, 0, 0, 1, },
{ "hom_bonus_exp_from_master", &battle_config.hom_bonus_exp_from_master, 10, 0, 100, },
{ "allowed_actions_when_dead", &battle_config.allowed_actions_when_dead, 0, 0, 3, },
+ { "teleport_close_storage", &battle_config.teleport_close_storage, 1, 0, 1, },
};
static bool battle_set_value_sub(int index, int value)