From b89dd1428b2d357c8bbe016573fb0ab25ade2782 Mon Sep 17 00:00:00 2001 From: KirieZ Date: Mon, 11 Jul 2016 00:55:47 -0300 Subject: Fixes warp facing direction. Fixes #1240 Closes #1353 as merged --- src/map/clif.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/map/clif.c') 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 -- cgit v1.2.3-60-g2f50