diff options
author | Haru <haru@dotalux.com> | 2016-04-20 17:06:18 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2016-04-23 19:09:33 +0200 |
commit | d7ffa6adbcf4800821fe3f961513952450d06f98 (patch) | |
tree | f6565bf5ae7e0d2d46a42dc734c83b9adb7b6abe /src/map/script.c | |
parent | e4feddf5198f1c9d45a6c34a95b251df773ab6db (diff) | |
download | hercules-d7ffa6adbcf4800821fe3f961513952450d06f98.tar.gz hercules-d7ffa6adbcf4800821fe3f961513952450d06f98.tar.bz2 hercules-d7ffa6adbcf4800821fe3f961513952450d06f98.tar.xz hercules-d7ffa6adbcf4800821fe3f961513952450d06f98.zip |
Removed the 'len' argument from clif_disp_onlyself() and clif->disp_message()
- 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.
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/script.c')
-rw-r--r-- | src/map/script.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c index f62bfa972..e869ddb62 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -13791,7 +13791,7 @@ BUILDIN(dispbottom) int color = script_getnum(st,3); clif->messagecolor_self(sd->fd, color, message); } else { - clif_disp_onlyself(sd, message, (int)strlen(message)); + clif_disp_onlyself(sd, message); } return true; |