Procházet zdrojové kódy

- Fix for #102547

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7235 54d463be-8e91-2dee-dedb-b68131a5f0ec
Lance před 19 roky
rodič
revize
93aac53572
2 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 1 1
      src/map/mob.c
  2. 1 1
      src/map/mob.h

+ 1 - 1
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){

+ 1 - 1
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;