From f51be442a0990eb5755e10346abaeb94404af2b1 Mon Sep 17 00:00:00 2001 From: ultramage Date: Fri, 15 May 2009 07:49:54 +0000 Subject: Changed the type of the 'first' parameter of status_calc_pc/mob/pet/homunculus/mercenary functions' from integer flag to a simple boolean. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13773 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/status.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/map/status.h') diff --git a/src/map/status.h b/src/map/status.h index ef10d7811..1a5efe514 100644 --- a/src/map/status.h +++ b/src/map/status.h @@ -993,11 +993,12 @@ int status_change_clear(struct block_list* bl, int type); int status_change_clear_buffs(struct block_list* bl, int type); void status_calc_bl(struct block_list *bl, unsigned long flag); -int status_calc_pet(struct pet_data* pd, int first); // [Skotlex] -int status_calc_pc(struct map_session_data* sd,int first); -int status_calc_mob(struct mob_data* md, int first); //[Skotlex] -int status_calc_homunculus(struct homun_data *hd, int first); -int status_calc_mercenary(struct mercenary_data *md, int first); +int status_calc_mob(struct mob_data* md, bool first); +int status_calc_pet(struct pet_data* pd, bool first); +int status_calc_pc(struct map_session_data* sd, bool first); +int status_calc_homunculus(struct homun_data *hd, bool first); +int status_calc_mercenary(struct mercenary_data *md, bool first); + void status_calc_misc(struct block_list *bl, struct status_data *status, int level); void status_calc_regen(struct block_list *bl, struct status_data *status, struct regen_data *regen); void status_calc_regen_rate(struct block_list *bl, struct regen_data *regen, struct status_change *sc); -- cgit v1.2.3-60-g2f50