summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2020-06-28 21:47:12 +0200
committerGitHub <noreply@github.com>2020-06-28 21:47:12 +0200
commitfbdd77d3dab85a2d14382ddffa51688e64ccda24 (patch)
tree043385dbdbe055791297b9d96c40b332b0a456b5 /src/map/battle.c
parenta6d5893396ce96926b98ffd1cfe4d2a1f205fc0d (diff)
parent8f32cfd4efb6892f7647f9bb3173ffb43c94ba94 (diff)
downloadhercules-fbdd77d3dab85a2d14382ddffa51688e64ccda24.tar.gz
hercules-fbdd77d3dab85a2d14382ddffa51688e64ccda24.tar.bz2
hercules-fbdd77d3dab85a2d14382ddffa51688e64ccda24.tar.xz
hercules-fbdd77d3dab85a2d14382ddffa51688e64ccda24.zip
Merge pull request #2756 from Jedzkie/jedzkie-pr07
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)