summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2020-04-14 01:44:54 +0300
committerAndrei Karas <akaras@inbox.ru>2020-05-04 01:00:43 +0300
commite2808832a99ccd675825935b4a81c962a35d5e10 (patch)
treee140d3384159be98c0b9cf2635e9264f8a3cc532 /src/map/pc.c
parentb996dec80009b227b643f794fd69e3e78a0d5291 (diff)
downloadhercules-e2808832a99ccd675825935b4a81c962a35d5e10.tar.gz
hercules-e2808832a99ccd675825935b4a81c962a35d5e10.tar.bz2
hercules-e2808832a99ccd675825935b4a81c962a35d5e10.tar.xz
hercules-e2808832a99ccd675825935b4a81c962a35d5e10.zip
Use enum spirit_charm_types for charm type field
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c4
1 files changed, 2 insertions, 2 deletions
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;