diff options
Diffstat (limited to 'src/emap/clif.c')
-rw-r--r-- | src/emap/clif.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/emap/clif.c b/src/emap/clif.c index ba4a2b7..e2a0337 100644 --- a/src/emap/clif.c +++ b/src/emap/clif.c @@ -1307,18 +1307,19 @@ void eclif_sendbgemblem_single(int *fdPtr, struct map_session_data *sd) } void eclif_disp_message(struct block_list* src, - const char* mes, size_t *lenPtr, + const char* mes, enum send_target *targetPtr) { unsigned char buf[256]; - int len = *lenPtr; + nullpo_retv(mes); + + int len = strlen(mes); if (len == 0 || !isInit) return; nullpo_retv(src); - nullpo_retv(mes); if (len > sizeof(buf) - 5) { |