summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog-Trunk.txt1
-rw-r--r--src/map/mob.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index 3ad13a0d9..cb4f6ddb4 100644
--- a/Changelog-Trunk.txt
+++ b/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]
diff --git a/src/map/mob.c b/src/map/mob.c
index a12b0fcb0..fb6d34e29 100644
--- a/src/map/mob.c
+++ b/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;