summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-05 02:40:40 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-05 02:40:40 +0000
commite016f73d67d8da12fcc52b95a8c0f4b7ed752928 (patch)
treeb5fbcb5026594aeac21fdaafe79871ef182ec9d2 /src/map/clif.c
parent9df96583c94c76bc3fd4727c6ccada2fb27d9370 (diff)
downloadhercules-e016f73d67d8da12fcc52b95a8c0f4b7ed752928.tar.gz
hercules-e016f73d67d8da12fcc52b95a8c0f4b7ed752928.tar.bz2
hercules-e016f73d67d8da12fcc52b95a8c0f4b7ed752928.tar.xz
hercules-e016f73d67d8da12fcc52b95a8c0f4b7ed752928.zip
- Fixed a compile warning.
- Added a commented piece of code in clif_parse_LoadEndAck which will update your direction to wherever you were facing before warping. Should this be the default? Nearby people DO see you facing on the same direction before warping, it's only yourself that will always see you facing north on spawn. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8143 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index de66fbdcf..31be94733 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -8368,6 +8368,9 @@ void clif_parse_LoadEndAck(int fd,struct map_session_data *sd)
// If player is dead, and is spawned (such as @refresh) send death packet. [Valaris]
if(pc_isdead(sd))
clif_clearchar_area(&sd->bl,1);
+// Uncomment if you want to make player face in the same direction he was facing right before warping. [Skotlex]
+// else
+// clif_changed_dir(&sd->bl, SELF);
}
/*==========================================