Added a fix for refresh properly displaying dead and sitting players.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12851 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
sketchyphoenix 2008-06-18 08:02:47 +00:00
parent 11c9fbefc0
commit 85e23b586c
2 changed files with 6 additions and 0 deletions

View File

@ -3,6 +3,8 @@ Date Added
AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK. AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK. IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2008/06/18
* Added a fix for refresh properly displaying dead and sitting players. [SketchyPhoenix]
2008/06/17 2008/06/17
* Forgot to commit source modification from r12833 (Updated Novice grounds.) [L0ne_W0lf] * Forgot to commit source modification from r12833 (Updated Novice grounds.) [L0ne_W0lf]
2008/06/16 2008/06/16

View File

@ -7059,6 +7059,10 @@ int clif_refresh(struct map_session_data *sd)
clif_send_homdata(sd,0,0); clif_send_homdata(sd,0,0);
map_foreachinrange(clif_getareachar,&sd->bl,AREA_SIZE,BL_ALL,sd); map_foreachinrange(clif_getareachar,&sd->bl,AREA_SIZE,BL_ALL,sd);
clif_weather_check(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 #ifndef TXT_ONLY
mail_clear(sd); mail_clear(sd);