summaryrefslogtreecommitdiff
path: root/src/map/duel.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/duel.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/duel.c')
-rw-r--r--src/map/duel.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/duel.c b/src/map/duel.c
index 30277be50..af2741f77 100644
--- a/src/map/duel.c
+++ b/src/map/duel.c
@@ -48,7 +48,7 @@ static int duel_showinfo_sub(struct map_session_data* sd, va_list va)
if (sd->duel_group != ssd->duel_group) return 0;
sprintf(output, " %d. %s", ++(*p), sd->status.name);
- clif->disp_onlyself(ssd, output, strlen(output));
+ clif_disp_onlyself(ssd, output, strlen(output));
return 1;
}
@@ -68,7 +68,7 @@ void duel_showinfo(const unsigned int did, struct map_session_data* sd) {
duel->list[did].members_count,
duel->list[did].members_count + duel->list[did].invites_count);
- clif->disp_onlyself(sd, output, strlen(output));
+ clif_disp_onlyself(sd, output, strlen(output));
map->foreachpc(duel_showinfo_sub, sd, &p);
}
@@ -86,7 +86,7 @@ int duel_create(struct map_session_data* sd, const unsigned int maxpl) {
duel->list[i].max_players_limit = maxpl;
strcpy(output, msg_txt(372)); // " -- Duel has been created (@invite/@leave) --"
- clif->disp_onlyself(sd, output, strlen(output));
+ clif_disp_onlyself(sd, output, strlen(output));
clif->map_property(sd, MAPPROPERTY_FREEPVPZONE);
clif->maptypeproperty2(&sd->bl,SELF);