summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-18 09:11:43 +0000
committerLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-18 09:11:43 +0000
commitdaf13ac351a508b02d0b296c5858003ca13fe4eb (patch)
tree1d5acbdaf7e366de096e9ef217c4e2ace67e66eb
parentdeaa0330b9368e716464e248019daf3213700ac0 (diff)
downloadhercules-daf13ac351a508b02d0b296c5858003ca13fe4eb.tar.gz
hercules-daf13ac351a508b02d0b296c5858003ca13fe4eb.tar.bz2
hercules-daf13ac351a508b02d0b296c5858003ca13fe4eb.tar.xz
hercules-daf13ac351a508b02d0b296c5858003ca13fe4eb.zip
- Fix for #102547
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7235 54d463be-8e91-2dee-dedb-b68131a5f0ec
-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;