summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorbrianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-03-24 04:06:49 +0000
committerbrianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-03-24 04:06:49 +0000
commit8ecdaccdbc1761ea090192d4453433b9460d3e11 (patch)
tree794626b4877ff8e78f0c326023e9e9f56b7a154a /src/map/clif.c
parent0d06b767e34eff1f6782aae8acb55b7040c9f5ce (diff)
downloadhercules-8ecdaccdbc1761ea090192d4453433b9460d3e11.tar.gz
hercules-8ecdaccdbc1761ea090192d4453433b9460d3e11.tar.bz2
hercules-8ecdaccdbc1761ea090192d4453433b9460d3e11.tar.xz
hercules-8ecdaccdbc1761ea090192d4453433b9460d3e11.zip
- Restored Lord Of Death spawn that was accidentally removed in r15060. (bugreport:5323)
- Made players face in the same direction they were facing right before warping. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15787 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 3ecb8acba..9dece4e7c 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -8120,7 +8120,7 @@ void clif_refresh(struct map_session_data *sd)
clif_openvending(sd, sd->bl.id, sd->vending);
if( pc_issit(sd) )
clif_sitting(&sd->bl); // FIXME: just send to self, not area
- if( pc_isdead(sd) ) //When you refresh, resend the death packet.
+ if( pc_isdead(sd) ) // When you refresh, resend the death packet.
clif_clearunit_single(sd->bl.id,CLR_DEAD,sd->fd);
else
clif_changed_dir(&sd->bl, SELF);
@@ -9228,11 +9228,10 @@ void clif_parse_LoadEndAck(int fd,struct map_session_data *sd)
clif_clearunit_area(&sd->bl, CLR_DEAD);
else {
skill_usave_trigger(sd);
-// Uncomment if you want to make player face in the same direction he was facing right before warping. [Skotlex]
-// clif_changed_dir(&sd->bl, SELF);
+ clif_changed_dir(&sd->bl, SELF);
}
-// Trigger skill effects if you appear standing on them
+// Trigger skill effects if you appear standing on them
if(!battle_config.pc_invincible_time)
skill_unit_move(&sd->bl,gettick(),1);
}