Преглед изворни кода

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7204 54d463be-8e91-2dee-dedb-b68131a5f0ec

Lance пре 19 година
родитељ
комит
68a5b7bea5
2 измењених фајлова са 2 додато и 0 уклоњено
  1. 1 0
      Changelog-Trunk.txt
  2. 1 0
      src/map/mob.c

+ 1 - 0
Changelog-Trunk.txt

@@ -5,6 +5,7 @@ IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
 
 2006/06/16
 	* [Added]:
+	  - Custom slave mobs to inherit the callback_flag.
 	  - Added option #25 to buildin_setmobdata to set the callback_flag. [Lance]
 	* [Improved]:
 	  - Cleaned up Custom Mob Script Callback codes. Looks much better now :B. [Lance]

+ 1 - 0
src/map/mob.c

@@ -1517,6 +1517,7 @@ int mob_convertslave_sub(struct block_list *bl,va_list ap)
 		md->state.killer = md2->state.killer;
 		md->special_state.ai = md2->special_state.ai;
 		md->nd = md2->nd;
+		md->callback_flag = md2->callback_flag;
 	}
 
 	return 0;