summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog-Trunk.txt2
-rw-r--r--src/map/script.c3
2 files changed, 5 insertions, 0 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index 680d94569..3ad13a0d9 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -4,6 +4,8 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2006/06/16
+ * [Added]:
+ - 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/script.c b/src/map/script.c
index ab4be0c5b..09fa6a1cf 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -10717,6 +10717,9 @@ int buildin_setmobdata(struct script_state *st){
case 24:
md->state.killer = value2>0?1:0;
break;
+ case 25:
+ md->callback_flag = (unsigned char)value2;
+ break;
default:
ShowError("buildin_setmobdata: argument id is not identified.");
return -1;