summaryrefslogtreecommitdiff
path: root/src/map/status.h
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-05-15 07:49:54 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-05-15 07:49:54 +0000
commitf51be442a0990eb5755e10346abaeb94404af2b1 (patch)
tree03b13e66a0d97bc5937f50d3f8bddfd034aae66d /src/map/status.h
parent8ea9f3079b7f85ccbd5831870d6d38ef88adfd07 (diff)
downloadhercules-f51be442a0990eb5755e10346abaeb94404af2b1.tar.gz
hercules-f51be442a0990eb5755e10346abaeb94404af2b1.tar.bz2
hercules-f51be442a0990eb5755e10346abaeb94404af2b1.tar.xz
hercules-f51be442a0990eb5755e10346abaeb94404af2b1.zip
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
Diffstat (limited to 'src/map/status.h')
-rw-r--r--src/map/status.h11
1 files changed, 6 insertions, 5 deletions
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);