diff options
author | shennetsind <ind@henn.et> | 2013-09-14 03:42:34 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-09-14 03:42:34 -0300 |
commit | f1a594db1b40a5a20ec5a4af093b27c58266cba0 (patch) | |
tree | b1e8beb0ecca04654d21e1eadda61de4cecd1227 /src/map/atcommand.c | |
parent | 0fd46a8156bfd9b66c2237f61e43c492c418181c (diff) | |
parent | eb10f355f7e228b59011326a7f84da2e593affea (diff) | |
download | hercules-f1a594db1b40a5a20ec5a4af093b27c58266cba0.tar.gz hercules-f1a594db1b40a5a20ec5a4af093b27c58266cba0.tar.bz2 hercules-f1a594db1b40a5a20ec5a4af093b27c58266cba0.tar.xz hercules-f1a594db1b40a5a20ec5a4af093b27c58266cba0.zip |
Merge branch 'master' of https://github.com/HerculesWS/Hercules
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r-- | src/map/atcommand.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c index 4a4487c3b..df97740e1 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -1046,9 +1046,9 @@ ACMD(kami) sscanf(message, "%199[^\n]", atcmd_output); if (strstr(command, "l") != NULL) - clif->broadcast(&sd->bl, atcmd_output, strlen(atcmd_output) + 1, 0, ALL_SAMEMAP); + clif->broadcast(&sd->bl, atcmd_output, strlen(atcmd_output) + 1, BC_DEFAULT, ALL_SAMEMAP); else - intif->broadcast(atcmd_output, strlen(atcmd_output) + 1, (*(command + 5) == 'b' || *(command + 5) == 'B') ? 0x10 : 0); + intif->broadcast(atcmd_output, strlen(atcmd_output) + 1, (*(command + 5) == 'b' || *(command + 5) == 'B') ? BC_BLUE : BC_YELLOW); } else { if(!message || !*message || (sscanf(message, "%lx %199[^\n]", &color, atcmd_output) < 2)) { clif->message(fd, msg_txt(981)); // Please enter color and message (usage: @kamic <color> <message>). @@ -4960,7 +4960,7 @@ ACMD(broadcast) } sprintf(atcmd_output, "%s: %s", sd->status.name, message); - intif->broadcast(atcmd_output, strlen(atcmd_output) + 1, 0); + intif->broadcast(atcmd_output, strlen(atcmd_output) + 1, BC_DEFAULT); return true; } @@ -4981,7 +4981,7 @@ ACMD(localbroadcast) sprintf(atcmd_output, "%s: %s", sd->status.name, message); - clif->broadcast(&sd->bl, atcmd_output, strlen(atcmd_output) + 1, 0, ALL_SAMEMAP); + clif->broadcast(&sd->bl, atcmd_output, strlen(atcmd_output) + 1, BC_DEFAULT, ALL_SAMEMAP); return true; } |