Skip to content

Commit

Permalink
Adjusted battle_getcurrentskill() return type
Browse files Browse the repository at this point in the history
* Adjusted the function's return type to uint16 to match the skill_id variable type.
  • Loading branch information
aleos89 committed Aug 26, 2016
1 parent 08f63aa commit bf84469
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/map/battle.c
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion src/map/battle.h
Expand Up @@ -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);
Expand Down

0 comments on commit bf84469

Please sign in to comment.