summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/map/mob.c2
-rw-r--r--src/map/mob.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index f8e608699..2ff7176b8 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 c4f27f08e..4c83e14c6 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;