summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorKirieZ <guilherme_kiriez@hotmail.com>2016-07-11 00:55:47 -0300
committerhemagx <hemagx2@gmail.com>2016-07-14 04:54:09 +0200
commitb89dd1428b2d357c8bbe016573fb0ab25ade2782 (patch)
tree9c32c567e7674b6a61884db8acbe14b3e2e1df22 /src/map/battle.c
parentdc32fdce0284cc3ad9a6eb17fb98c58334453678 (diff)
downloadhercules-b89dd1428b2d357c8bbe016573fb0ab25ade2782.tar.gz
hercules-b89dd1428b2d357c8bbe016573fb0ab25ade2782.tar.bz2
hercules-b89dd1428b2d357c8bbe016573fb0ab25ade2782.tar.xz
hercules-b89dd1428b2d357c8bbe016573fb0ab25ade2782.zip
Fixes warp facing direction.
Fixes #1240 Closes #1353 as merged
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 879776871..6182d1ff5 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -7247,6 +7247,7 @@ static const struct battle_data {
{ "min_body_style", &battle_config.min_body_style, 0, 0, SHRT_MAX, },
{ "max_body_style", &battle_config.max_body_style, 4, 0, SHRT_MAX, },
{ "save_body_style", &battle_config.save_body_style, 0, 0, 1, },
+ { "player_warp_keep_direction", &battle_config.player_warp_keep_direction, 0, 0, 1, },
};
#ifndef STATS_OPT_OUT
/**