Adjusted battle_getcurrentskill() return type

* Adjusted the function's return type to uint16 to match the skill_id variable type.
This commit is contained in:
aleos89 2016-08-26 14:41:22 -04:00
parent 08f63aa3b1
commit bf84469438
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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);