summaryrefslogtreecommitdiff
path: root/src/map/homunculus.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-04-20 17:06:18 +0200
committerHaru <haru@dotalux.com>2016-04-23 19:09:33 +0200
commitd7ffa6adbcf4800821fe3f961513952450d06f98 (patch)
treef6565bf5ae7e0d2d46a42dc734c83b9adb7b6abe /src/map/homunculus.c
parente4feddf5198f1c9d45a6c34a95b251df773ab6db (diff)
downloadhercules-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/homunculus.c')
-rw-r--r--src/map/homunculus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/homunculus.c b/src/map/homunculus.c
index bda8fd9e6..66cce23e6 100644
--- a/src/map/homunculus.c
+++ b/src/map/homunculus.c
@@ -391,7 +391,7 @@ bool homunculus_levelup(struct homun_data *hd) {
growth_max_hp, growth_max_sp,
growth_str/10.0, growth_agi/10.0, growth_vit/10.0,
growth_int/10.0, growth_dex/10.0, growth_luk/10.0);
- clif_disp_onlyself(hd->master,output,strlen(output));
+ clif_disp_onlyself(hd->master, output);
}
return true;
}