From 709f0a57b14340531435450e43a8b277cae024d3 Mon Sep 17 00:00:00 2001 From: sketchyphoenix Date: Wed, 18 Jun 2008 08:02:47 +0000 Subject: 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 --- src/map/clif.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/map/clif.c') 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); -- cgit v1.2.3-70-g09d2