summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2014-02-22 23:02:01 -0300
committershennetsind <ind@henn.et>2014-02-22 23:02:01 -0300
commitb52c3cc52f391e75a6277e7bf4afc992c4759e9d (patch)
tree5b48c0b4111b35b9467faa0c583e0eb68b014279 /src/map/atcommand.c
parent6163d9afd1b8536509cb79d123ad6855d89f39e7 (diff)
parent4109f855604a1782a04c2eba10229fb2e1efd2ab (diff)
downloadhercules-b52c3cc52f391e75a6277e7bf4afc992c4759e9d.tar.gz
hercules-b52c3cc52f391e75a6277e7bf4afc992c4759e9d.tar.bz2
hercules-b52c3cc52f391e75a6277e7bf4afc992c4759e9d.tar.xz
hercules-b52c3cc52f391e75a6277e7bf4afc992c4759e9d.zip
Merge branch 'master' of https://github.com/HerculesWS/Hercules
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 e7617b2e8..98ccf3dc5 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;
}