summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorsketchyphoenix <sketchyphoenix@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-06-18 08:02:47 +0000
committersketchyphoenix <sketchyphoenix@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-06-18 08:02:47 +0000
commit709f0a57b14340531435450e43a8b277cae024d3 (patch)
tree4bd6e4cc60967daaaf50495ae21867942199ae5b /src/map/clif.c
parent9a12ea901de674bb1a66c3be20163ff743d75793 (diff)
downloadhercules-709f0a57b14340531435450e43a8b277cae024d3.tar.gz
hercules-709f0a57b14340531435450e43a8b277cae024d3.tar.bz2
hercules-709f0a57b14340531435450e43a8b277cae024d3.tar.xz
hercules-709f0a57b14340531435450e43a8b277cae024d3.zip
Added a fix for refresh properly displaying dead and sitting players.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12851 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index ee764f3c6..fe802e580 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -7059,6 +7059,10 @@ int clif_refresh(struct map_session_data *sd)
clif_send_homdata(sd,0,0);
map_foreachinrange(clif_getareachar,&sd->bl,AREA_SIZE,BL_ALL,sd);
clif_weather_check(sd);
+ if( pc_issit(sd) )
+ clif_sitting(&sd->bl);
+ if( pc_isdead(sd) ) //When you refresh, resend the death packet.
+ clif_clearunit_area(&sd->bl,1);
#ifndef TXT_ONLY
mail_clear(sd);