summaryrefslogtreecommitdiff
path: root/src/map/clif.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/clif.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/clif.c')
-rw-r--r--src/map/clif.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 897249836..2317801bc 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -9548,7 +9548,8 @@ void clif_parse_LoadEndAck(int fd, struct map_session_data *sd) {
clif->clearunit_area(&sd->bl, CLR_DEAD);
else {
skill->usave_trigger(sd);
- sd->ud.dir = 0;/* enforce north-facing (not visually, virtually) */
+ if (battle_config.player_warp_keep_direction == 1)
+ clif->changed_dir(&sd->bl, SELF); // Visually updates player facing direction
}
// Trigger skill effects if you appear standing on them