summaryrefslogtreecommitdiff
path: root/src/map/duel.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2013-09-11 01:28:31 +0200
committerHaru <haru@dotalux.com>2013-09-11 02:26:04 +0200
commiteb10f355f7e228b59011326a7f84da2e593affea (patch)
tree52c448eeef67c66794e6f8fccee3bfc446893ff3 /src/map/duel.c
parentc1c3ef1e0b356aaa89d8fba6d63b86130e8aae9c (diff)
downloadhercules-eb10f355f7e228b59011326a7f84da2e593affea.tar.gz
hercules-eb10f355f7e228b59011326a7f84da2e593affea.tar.bz2
hercules-eb10f355f7e228b59011326a7f84da2e593affea.tar.xz
hercules-eb10f355f7e228b59011326a7f84da2e593affea.zip
Fixed announce script command support for bc_blue and bc_woe
- Fixes an issue where it wasn't possible to use bc_blue or bc_woe at the same time as bc_map, bc_area or bc_self. (this partly works around bugreport:7693 - http://hercules.ws/board/tracker/issue-7693-character-with-name ) - Replaced bc_* related values from various places through the sources with constants. Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/duel.c')
-rw-r--r--src/map/duel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/duel.c b/src/map/duel.c
index 7a4e61fa0..a04ed855b 100644
--- a/src/map/duel.c
+++ b/src/map/duel.c
@@ -110,7 +110,7 @@ void duel_invite(const unsigned int did, struct map_session_data* sd, struct map
// "Blue -- Player %s invites you to PVP duel (@accept/@reject) --"
sprintf(output, msg_txt(374), sd->status.name);
- clif->broadcast((struct block_list *)target_sd, output, strlen(output)+1, 0x10, SELF);
+ clif->broadcast((struct block_list *)target_sd, output, strlen(output)+1, BC_BLUE, SELF);
}
static int duel_leave_sub(struct map_session_data* sd, va_list va)