diff options
author | shennetsind <ind@henn.et> | 2013-03-29 19:40:25 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-03-29 19:40:25 -0300 |
commit | a89d501fc60b12a997a262429cb4515af9dad69e (patch) | |
tree | 39e2a5153a99d46dc40cb461eb3ecdb9ded73275 /src/map/mercenary.c | |
parent | cfd2bdb06048c17decaafd0f5a3c04e3f0ac6a3b (diff) | |
download | hercules-a89d501fc60b12a997a262429cb4515af9dad69e.tar.gz hercules-a89d501fc60b12a997a262429cb4515af9dad69e.tar.bz2 hercules-a89d501fc60b12a997a262429cb4515af9dad69e.tar.xz hercules-a89d501fc60b12a997a262429cb4515af9dad69e.zip |
Hercules Renewal: clif.c
1st Phase Complete.
http://hercules.ws/board/topic/237-hercules-renewal/
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/mercenary.c')
-rw-r--r-- | src/map/mercenary.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/map/mercenary.c b/src/map/mercenary.c index 665e6aeac..f673ae5de 100644 --- a/src/map/mercenary.c +++ b/src/map/mercenary.c @@ -157,7 +157,7 @@ int mercenary_set_faith(struct mercenary_data *md, int value) *faith += value; *faith = cap_value(*faith, 0, SHRT_MAX); - clif_mercenary_updatestatus(sd, SP_MERCFAITH); + clif->mercenary_updatestatus(sd, SP_MERCFAITH); return 0; } @@ -261,7 +261,7 @@ int merc_delete(struct mercenary_data *md, int reply) case 1: mercenary_set_faith(md, -1); break; // -1 Loyalty on Mercenary killed } - clif_mercenary_message(sd, reply); + clif->mercenary_message(sd, reply); return unit_remove_map(&md->bl, CLR_OUTSIGHT); } @@ -337,9 +337,9 @@ int merc_data_received(struct s_mercenary *merc, bool flag) if( md && md->bl.prev == NULL && sd->bl.prev != NULL ) { map_addblock(&md->bl); - clif_spawn(&md->bl); - clif_mercenary_info(sd); - clif_mercenary_skillblock(sd); + clif->spawn(&md->bl); + clif->mercenary_info(sd); + clif->mercenary_skillblock(sd); } return 1; @@ -348,9 +348,9 @@ int merc_data_received(struct s_mercenary *merc, bool flag) void mercenary_heal(struct mercenary_data *md, int hp, int sp) { if( hp ) - clif_mercenary_updatestatus(md->master, SP_HP); + clif->mercenary_updatestatus(md->master, SP_HP); if( sp ) - clif_mercenary_updatestatus(md->master, SP_SP); + clif->mercenary_updatestatus(md->master, SP_SP); } int mercenary_dead(struct mercenary_data *md) @@ -380,7 +380,7 @@ int mercenary_kills(struct mercenary_data *md) } if( md->master ) - clif_mercenary_updatestatus(md->master, SP_MERCKILLS); + clif->mercenary_updatestatus(md->master, SP_MERCKILLS); return 0; } |