From e2808832a99ccd675825935b4a81c962a35d5e10 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 14 Apr 2020 01:44:54 +0300 Subject: Use enum spirit_charm_types for charm type field --- src/map/pc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map/pc.c') diff --git a/src/map/pc.c b/src/map/pc.c index a8ed4430e..06ab57e0e 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -11328,7 +11328,7 @@ static int pc_charm_timer(int tid, int64 tick, int id, intptr_t data) * @param max Maximum amount of charms to add. * @param type Charm type (@see spirit_charm_types) */ -static void pc_add_charm(struct map_session_data *sd, int interval, int max, int type) +static void pc_add_charm(struct map_session_data *sd, int interval, int max, enum spirit_charm_types type) { int tid, i; @@ -11370,7 +11370,7 @@ static void pc_add_charm(struct map_session_data *sd, int interval, int max, int * @param count Amount of charms to remove. * @param type Type of charm to remove. */ -static void pc_del_charm(struct map_session_data *sd, int count, int type) +static void pc_del_charm(struct map_session_data *sd, int count, enum spirit_charm_types type) { int i; -- cgit v1.2.3-60-g2f50