summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-07-25 21:01:19 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-07-25 21:01:19 +0000
commit575eda93fdf415f36b6ddec2b70c77bf5317b28e (patch)
tree9bbb13fbaa4ad2c829b66a39b8021de1dc48befd
parente13ebc226f3f0ac937f880df270e30ad2aa5d450 (diff)
downloadhercules-575eda93fdf415f36b6ddec2b70c77bf5317b28e.tar.gz
hercules-575eda93fdf415f36b6ddec2b70c77bf5317b28e.tar.bz2
hercules-575eda93fdf415f36b6ddec2b70c77bf5317b28e.tar.xz
hercules-575eda93fdf415f36b6ddec2b70c77bf5317b28e.zip
Fixed a missing homunculus info packet when doing @refresh
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10910 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--Changelog-Trunk.txt1
-rw-r--r--src/map/clif.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index 9193c69fd..eaecb9042 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -4,6 +4,7 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2007/07/25
+ * Fixed a missing homunculus info packet when doing @refresh
* Added support for character rename packet (only dummy code for now)
* Added support for langtype-12 char deletion packet (tested, works)
* Synchronized txt/sql charserver code a bit
diff --git a/src/map/clif.c b/src/map/clif.c
index 1ff295eac..298333276 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -7472,6 +7472,8 @@ int clif_refresh(struct map_session_data *sd)
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);
+ if(merc_is_hom_active(sd->hd))
+ clif_send_homdata(sd,0,0);
map_foreachinrange(clif_getareachar,&sd->bl,AREA_SIZE,BL_ALL,sd);
clif_weather_check(sd);
return 0;