summaryrefslogtreecommitdiff
path: root/src/map/atcommand.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/atcommand.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/atcommand.c')
-rw-r--r--src/map/atcommand.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index c5460eb47..f2f41b65c 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -7762,14 +7762,14 @@ ACMD(cash)
// If this option is set, the message is already sent by pc function
if( !battle_config.cashshop_show_points ){
sprintf(output, msg_txt(505), ret, sd->cashPoints);
- clif->disp_onlyself(sd, output, strlen(output));
+ clif_disp_onlyself(sd, output, strlen(output));
}
} else
clif->message(fd, msg_txt(149)); // Unable to decrease the number/value.
} else {
if( (ret=pc->paycash(sd, -value, 0)) >= 0){
sprintf(output, msg_txt(410), ret, sd->cashPoints);
- clif->disp_onlyself(sd, output, strlen(output));
+ clif_disp_onlyself(sd, output, strlen(output));(sd, output, strlen(output));
} else
clif->message(fd, msg_txt(41)); // Unable to decrease the number/value.
}
@@ -7779,14 +7779,14 @@ ACMD(cash)
// If this option is set, the message is already sent by pc function
if( !battle_config.cashshop_show_points ){
sprintf(output, msg_txt(506), ret, sd->kafraPoints);
- clif->disp_onlyself(sd, output, strlen(output));
+ clif_disp_onlyself(sd, output, strlen(output));
}
} else
clif->message(fd, msg_txt(149)); // Unable to decrease the number/value.
} else {
if( (ret=pc->paycash(sd, -value, -value)) >= 0){
sprintf(output, msg_txt(411), ret, sd->kafraPoints);
- clif->disp_onlyself(sd, output, strlen(output));
+ clif_disp_onlyself(sd, output, strlen(output));
} else
clif->message(fd, msg_txt(41)); // Unable to decrease the number/value.
}
@@ -7880,7 +7880,7 @@ ACMD(request)
sprintf(atcmd_output, msg_txt(278), message); // (@request): %s
intif->wis_message_to_gm(sd->status.name, PC_PERM_RECEIVE_REQUESTS, atcmd_output);
- clif->disp_onlyself(sd, atcmd_output, strlen(atcmd_output));
+ clif_disp_onlyself(sd, atcmd_output, strlen(atcmd_output));
clif->message(sd->fd,msg_txt(279)); // @request sent.
return true;
}