summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
authorpanikon <panikon@zoho.com>2014-02-22 13:28:46 -0300
committerpanikon <panikon@zoho.com>2014-02-22 13:28:46 -0300
commiteedb111a26c994ec9044aadb05bebc0207e0f3e2 (patch)
tree477c532597c3ac6ec9fdc82fc0b7c35dd7988e1d /src/map/mob.c
parentf0633c23bb502a46488c30495f8cd6cbf035c7ce (diff)
downloadhercules-eedb111a26c994ec9044aadb05bebc0207e0f3e2.tar.gz
hercules-eedb111a26c994ec9044aadb05bebc0207e0f3e2.tar.bz2
hercules-eedb111a26c994ec9044aadb05bebc0207e0f3e2.tar.xz
hercules-eedb111a26c994ec9044aadb05bebc0207e0f3e2.zip
Changed function types related to SG days in date.c
Changed types in clif.c: bool clif_setip -> map:ip_set, map: char_ip_set changed as well bool clif_setbindip bool clif_send bool clif_spawn void clif_homskillinfoblock bool clif_sub_guild_invite Note that return values of those types have changed, so if any modification uses their return values it should be changed. clif_disp_onlyself replaced as a macro clif_viewequip_fail replaced as a macro Merged clif_skillup and clif_guild_skillup as they were using the same packet Added packet_len() values in clif_updatestatus
Diffstat (limited to 'src/map/mob.c')
-rw-r--r--src/map/mob.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index b1fb99859..ff63048d1 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -398,7 +398,7 @@ bool mob_ksprotected(struct block_list *src, struct block_list *target) {
if( DIFF_TICK(sd->ks_floodprotect_tick, tick) <= 0 )
{
sprintf(output, "[KS Warning!! - Owner : %s]", pl_sd->status.name);
- clif->disp_onlyself(sd, output, strlen(output));
+ clif_disp_onlyself(sd, output, strlen(output));
sd->ks_floodprotect_tick = tick + 2000;
}
@@ -407,7 +407,7 @@ bool mob_ksprotected(struct block_list *src, struct block_list *target) {
if( DIFF_TICK(pl_sd->ks_floodprotect_tick, tick) <= 0 )
{
sprintf(output, "[Watch out! %s is trying to KS you!]", sd->status.name);
- clif->disp_onlyself(pl_sd, output, strlen(output));
+ clif_disp_onlyself(pl_sd, output, strlen(output));
pl_sd->ks_floodprotect_tick = tick + 2000;
}