summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-11-25 13:06:44 -0200
committershennetsind <ind@henn.et>2013-11-25 13:06:44 -0200
commitc0c9af6d91be054390b1ab797bc292140f25287c (patch)
treea68abd9fb131d77b06e6a0ff2eea9239be68e6ae
parent364d8762a17769c2bc78a794dae7b2b6eac7142d (diff)
downloadhercules-c0c9af6d91be054390b1ab797bc292140f25287c.tar.gz
hercules-c0c9af6d91be054390b1ab797bc292140f25287c.tar.bz2
hercules-c0c9af6d91be054390b1ab797bc292140f25287c.tar.xz
hercules-c0c9af6d91be054390b1ab797bc292140f25287c.zip
Fixed Bug 7764
Server now (virtually) enforces character to be facing north upon teleporting, fixes issues such as when you're facing left, teleports, uses high jump, and still goes left even though client makes it look like you're facing north. Special Thanks to kyeme. http://hercules.ws/board/tracker/issue-7764-warp-facing/ Signed-off-by: shennetsind <ind@henn.et>
-rw-r--r--src/map/clif.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 913f55784..b07369a9e 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -9568,6 +9568,7 @@ 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) */
}
// Trigger skill effects if you appear standing on them