diff --git a/src/map/battle.c b/src/map/battle.c index 38d4501f7b..d5c51918b7 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -36,7 +36,7 @@ static struct eri *delay_damage_ers; //For battle delay damage structures. * @param bl * @return skill_id */ -int battle_getcurrentskill(struct block_list *bl) +uint16 battle_getcurrentskill(struct block_list *bl) { struct unit_data *ud; diff --git a/src/map/battle.h b/src/map/battle.h index 318c2cb993..cea5afd1db 100644 --- a/src/map/battle.h +++ b/src/map/battle.h @@ -110,7 +110,7 @@ struct block_list* battle_get_master(struct block_list *src); struct block_list* battle_gettargeted(struct block_list *target); struct block_list* battle_getenemy(struct block_list *target, int type, int range); int battle_gettarget(struct block_list *bl); -int battle_getcurrentskill(struct block_list *bl); +uint16 battle_getcurrentskill(struct block_list *bl); int battle_check_undead(int race,int element); int battle_check_target(struct block_list *src, struct block_list *target,int flag);