diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-06-17 16:23:57 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-06-17 16:23:57 +0000 |
commit | 0c1c429e338a07638c07c4bc088311abda354c36 (patch) | |
tree | 0ce491add7f3e632b6d4f3b6f5c01ac351a8f6d2 /src/map/clif.c | |
parent | e30cc8e4ebab164b261578ef7bb8a76978db5478 (diff) | |
download | hercules-0c1c429e338a07638c07c4bc088311abda354c36.tar.gz hercules-0c1c429e338a07638c07c4bc088311abda354c36.tar.bz2 hercules-0c1c429e338a07638c07c4bc088311abda354c36.tar.xz hercules-0c1c429e338a07638c07c4bc088311abda354c36.zip |
- Devotion absorbed damage will now appear to come from oneself (instead of the original attacker changing directions towards the Crusader)
- Updated clif_refres to send inventory, cart, and weight info.
- Fixed intif_guild_memberinfoshort to not leave a dangling pointer when someone logs out <.<
- Cleaned up a bit guild_check_member
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7226 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r-- | src/map/clif.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index 9c6d0e97a..8dfcb40cf 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -7554,7 +7554,14 @@ int clif_specialeffect(struct block_list *bl, int type, int flag) int clif_refresh(struct map_session_data *sd) {
nullpo_retr(-1, sd);
clif_changemap(sd,sd->mapindex,sd->bl.x,sd->bl.y);
- map_foreachinarea(clif_getareachar,sd->bl.m,sd->bl.x-AREA_SIZE,sd->bl.y-AREA_SIZE,sd->bl.x+AREA_SIZE,sd->bl.y+AREA_SIZE,BL_ALL,sd);
+ clif_inventorylist(sd);
+ if(pc_iscarton(sd)){
+ clif_cartlist(sd);
+ clif_updatestatus(sd,SP_CARTINFO);
+ }
+ clif_updatestatus(sd,SP_MAXWEIGHT);
+ clif_updatestatus(sd,SP_WEIGHT);
+ map_foreachinrange(clif_getareachar,&sd->bl,AREA_SIZE,BL_ALL,sd);
return 0;
}
|