summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2014-03-11 02:58:45 +0100
committerHaru <haru@dotalux.com>2014-03-11 02:59:17 +0100
commit400c6a2e625197f70326587401b13ab02659682f (patch)
tree5c15609f69b72751c6dd17df8fd70f46fe85e70a /src/map/status.c
parent42a5acec288f8ca364aee42472c8e0321ab0e5e4 (diff)
downloadhercules-400c6a2e625197f70326587401b13ab02659682f.tar.gz
hercules-400c6a2e625197f70326587401b13ab02659682f.tar.bz2
hercules-400c6a2e625197f70326587401b13ab02659682f.tar.xz
hercules-400c6a2e625197f70326587401b13ab02659682f.zip
Fixed some warnings (unused functions) pointed out by clang-5.1.
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/status.c b/src/map/status.c
index f23a48fe0..4a81fcb05 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -1985,7 +1985,9 @@ unsigned short status_base_atk(const struct block_list *bl, const struct status_
return cap_value(str, 0, USHRT_MAX);
}
+#ifndef RENEWAL
static inline unsigned short status_base_matk_min(const struct status_data *st){ return st->int_+(st->int_/7)*(st->int_/7); }
+#endif // not RENEWAL
static inline unsigned short status_base_matk_max(const struct status_data *st){ return st->int_+(st->int_/5)*(st->int_/5); }
unsigned short status_base_matk(const struct status_data *st, int level) {