summaryrefslogtreecommitdiff
path: root/src/map/pc.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-12-02 20:42:22 +0100
committerHaru <haru@dotalux.com>2016-12-03 15:38:57 +0100
commit8a9e589446058b33972aff2c054f8c300b3fd1b7 (patch)
tree8e33ef34efc82403409265f6332c32aae801b6a6 /src/map/pc.h
parent0f5fdca8945ec3afd5ba2e67a9d414f1ef5565c3 (diff)
downloadhercules-8a9e589446058b33972aff2c054f8c300b3fd1b7.tar.gz
hercules-8a9e589446058b33972aff2c054f8c300b3fd1b7.tar.bz2
hercules-8a9e589446058b33972aff2c054f8c300b3fd1b7.tar.xz
hercules-8a9e589446058b33972aff2c054f8c300b3fd1b7.zip
Change the argument to pc->famerank() to a rank type (instead of job mapid)
For consistency with `pc->addfame()`, the argument to pc->famerank() is now an enum fame_list_type. The function was renamed to `pc->fame_rank()` to avoid silently compiling old non-compliant code. Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/pc.h')
-rw-r--r--src/map/pc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pc.h b/src/map/pc.h
index f73a015ca..5c9bec9f6 100644
--- a/src/map/pc.h
+++ b/src/map/pc.h
@@ -1004,7 +1004,7 @@ END_ZEROED_BLOCK; /* End */
int (*delspiritball) (struct map_session_data *sd,int count,int type);
int (*getmaxspiritball) (struct map_session_data *sd, int min);
void (*addfame) (struct map_session_data *sd, int ranktype, int count);
- int (*famerank) (int char_id, uint32 job);
+ int (*fame_rank) (int char_id, int ranktype);
int (*set_hate_mob) (struct map_session_data *sd, int pos, struct block_list *bl);
int (*readdb) (void);