Originally posted by [b]mkbu95[/b]
I noticed that there are two functions not using all parameters in homunculus.c:
[code]void merc_damage(struct homun_data *hd,struct block_list *src,int hp,int sp)
{
clif_hominfo(hd->master,hd,0);
}[/code]
[code]void merc_hom_heal(struct homun_data *hd,int hp,int sp)
{
clif_hominfo(hd->master,hd,0);
}[/code]
Also, > I think < that they're not being used because clif_hominfo use the hom struct that was updated on status_heal or status_damage.
However I'd prefer to use the values from status_heal -> merc_hom_heal / status_damage -> clif_hominfo rather than the actual way. Is it safer, to retrieve the info from a struct instead of a integer parameter?
Well, Idk
[img]http://i.imgur.com/VaepU.jpg[/img]
This post has been edited by
mkbu95
on Aug 29, 2012 22:38