diff --git a/src/map/mob.c b/src/map/mob.c index f8e608699b..2ff7176b83 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -2989,7 +2989,7 @@ int mob_clone_delete(int class_) return 0; } -int mob_script_callback(struct mob_data *md, struct block_list *target, unsigned char action_type) +int mob_script_callback(struct mob_data *md, struct block_list *target, short action_type) { // I will not add any protection here since I assume everything is checked before coming here. if(md->callback_flag&action_type){ diff --git a/src/map/mob.h b/src/map/mob.h index c4f27f08e6..4c83e14c60 100644 --- a/src/map/mob.h +++ b/src/map/mob.h @@ -36,7 +36,7 @@ #define CALLBACK_WALKACK 0x02 #define CALLBACK_WARPACK 0x01 -int mob_script_callback(struct mob_data *md, struct block_list *target, unsigned char action_type); +int mob_script_callback(struct mob_data *md, struct block_list *target, short action_type); struct mob_skill { short state;