diff options
author | Haru <haru@dotalux.com> | 2016-04-21 20:38:18 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2016-04-23 19:11:52 +0200 |
commit | 4788c813c654c522d336dd9fb1229c1cbdd2d7de (patch) | |
tree | b96507116fb1863680c6101c4add29b041e536bb /src/map/clif.h | |
parent | d7ffa6adbcf4800821fe3f961513952450d06f98 (diff) | |
download | hercules-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/clif.h')
-rw-r--r-- | src/map/clif.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clif.h b/src/map/clif.h index 7c6516871..459d62d7b 100644 --- a/src/map/clif.h +++ b/src/map/clif.h @@ -943,7 +943,7 @@ struct clif_interface { void (*bg_hp) (struct map_session_data *sd); void (*bg_xy) (struct map_session_data *sd); void (*bg_xy_remove) (struct map_session_data *sd); - void (*bg_message) (struct battleground_data *bgd, int src_id, const char *name, const char *mes, size_t len); + void (*bg_message) (struct battleground_data *bgd, int src_id, const char *name, const char *mes); void (*bg_updatescore) (int16 m); void (*bg_updatescore_single) (struct map_session_data *sd); void (*sendbgemblem_area) (struct map_session_data *sd); |