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:
parent
08f63aa3b1
commit
bf84469438
@ -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;
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user