summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-12-02 16:29:37 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-12-02 16:29:37 +0000
commit65e0e75aedb7026b4f6a8c3293b3659968f7856f (patch)
tree50b8a667174ba09dd676ca7c23a37e4e32eb0bb6 /src/map/clif.c
parentc81a19aebbf31ac357112b8bd056b259930250e2 (diff)
downloadhercules-65e0e75aedb7026b4f6a8c3293b3659968f7856f.tar.gz
hercules-65e0e75aedb7026b4f6a8c3293b3659968f7856f.tar.bz2
hercules-65e0e75aedb7026b4f6a8c3293b3659968f7856f.tar.xz
hercules-65e0e75aedb7026b4f6a8c3293b3659968f7856f.zip
Fixed some minor inconsistencies in homunculus packets, in an attempt to make the lvl99 aura show to owner onSpawn.
Still doesn't work as there appears to be a complex packet order dependency... git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11851 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index bdb989d3f..8dfe196d4 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -1203,7 +1203,7 @@ int clif_hominfo(struct map_session_data *sd, struct homun_data *hd, int flag)
WBUFL(buf,59)=hd->homunculus.exp;
WBUFL(buf,63)=hd->exp_next;
WBUFW(buf,67)=hd->homunculus.skillpts;
- WBUFW(buf,69)=1; // FIXME: Attackable? When exactly is a homun not attackable? [Skotlex]
+ WBUFW(buf,69)=2; // FIXME: undocumented flag, seems to be '2' all the time [ultramage]
clif_send(buf,packet_len(0x22e),&sd->bl,SELF);
return 0;
}
@@ -7832,9 +7832,9 @@ void clif_parse_LoadEndAck(int fd,struct map_session_data *sd)
if(merc_is_hom_active(sd->hd)) {
map_addblock(&sd->hd->bl);
clif_spawn(&sd->hd->bl);
+ clif_send_homdata(sd,0,0);
clif_hominfo(sd,sd->hd,1);
clif_hominfo(sd,sd->hd,0); //for some reason, at least older clients want this sent twice
- clif_send_homdata(sd,0,0);
clif_homskillinfoblock(sd);
if (battle_config.hom_setting&0x8)
status_calc_bl(&sd->hd->bl, SCB_SPEED); //Homunc mimic their master's speed on each map change