summaryrefslogtreecommitdiff
path: root/src/map/battleground.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-04-21 20:38:18 +0200
committerHaru <haru@dotalux.com>2016-04-23 19:11:52 +0200
commit4788c813c654c522d336dd9fb1229c1cbdd2d7de (patch)
treeb96507116fb1863680c6101c4add29b041e536bb /src/map/battleground.h
parentd7ffa6adbcf4800821fe3f961513952450d06f98 (diff)
downloadhercules-4788c813c654c522d336dd9fb1229c1cbdd2d7de.tar.gz
hercules-4788c813c654c522d336dd9fb1229c1cbdd2d7de.tar.bz2
hercules-4788c813c654c522d336dd9fb1229c1cbdd2d7de.tar.xz
hercules-4788c813c654c522d336dd9fb1229c1cbdd2d7de.zip
Removed the 'len' argument from various message-related functions
- The argument was redundant, since the passed value is always the same as the passed string's length (it doesn't make sense otherwise). The argument is implicit now. Less typing and less errors. - Affected functions: `clif->bg_message()`, `bg->send_message()`, `party->send_message()`, `guild->send_message()`. Signed-off-by: Haru <haru@dotalux.com> Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/battleground.h')
-rw-r--r--src/map/battleground.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/battleground.h b/src/map/battleground.h
index 8657beaf8..4c3d4878f 100644
--- a/src/map/battleground.h
+++ b/src/map/battleground.h
@@ -130,7 +130,7 @@ struct battleground_interface {
bool (*member_respawn) (struct map_session_data *sd);
int (*create) (unsigned short map_index, short rx, short ry, const char *ev, const char *dev);
int (*team_get_id) (struct block_list *bl);
- bool (*send_message) (struct map_session_data *sd, const char *mes, int len);
+ bool (*send_message) (struct map_session_data *sd, const char *mes);
int (*send_xy_timer_sub) (union DBKey key, struct DBData *data, va_list ap);
int (*send_xy_timer) (int tid, int64 tick, int id, intptr_t data);
int (*afk_timer) (int tid, int64 tick, int id, intptr_t data);