From 8a9e589446058b33972aff2c054f8c300b3fd1b7 Mon Sep 17 00:00:00 2001 From: Haru Date: Fri, 2 Dec 2016 20:42:22 +0100 Subject: 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 --- src/map/pc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/pc.h') 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); -- cgit v1.2.3-70-g09d2