summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-04-22 03:11:04 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-04-22 03:11:04 +0000
commitba64401d27d855d33280015e3bea523aeda0af37 (patch)
tree1d0b4692072393149aa5afb38985c2b87f63379e /src/map/clif.c
parent44f70b76b2048b175e7454014c65a4f455850267 (diff)
downloadhercules-ba64401d27d855d33280015e3bea523aeda0af37.tar.gz
hercules-ba64401d27d855d33280015e3bea523aeda0af37.tar.bz2
hercules-ba64401d27d855d33280015e3bea523aeda0af37.tar.xz
hercules-ba64401d27d855d33280015e3bea523aeda0af37.zip
- Corrected crash if itemskill is used without an attached player.
- Removed range checks for autospells as per UltraMage Aegis tests. - Added chatID skill fail check to skill_check_condition - Corrected @refresh not re-displaying your spirit spheres nor re-setting your cloth dye. - Now the "number of attackers" in mob_dead is counted only from online characters on the same map. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10307 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 4e4a701c5..8b1dbc0a2 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -7634,6 +7634,10 @@ int clif_refresh(struct map_session_data *sd) {
clif_updatestatus(sd,SP_INT);
clif_updatestatus(sd,SP_DEX);
clif_updatestatus(sd,SP_LUK);
+ if (sd->spiritball)
+ clif_spiritball_single(sd->fd, sd);
+ if (sd->vd.cloth_color)
+ clif_refreshlook(&sd->bl,sd->bl.id,LOOK_CLOTHES_COLOR,sd->vd.cloth_color,SELF);
map_foreachinrange(clif_getareachar,&sd->bl,AREA_SIZE,BL_ALL,sd);
clif_weather_check(sd);
return 0;