diff options
author | Lance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-06-16 14:46:15 +0000 |
---|---|---|
committer | Lance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-06-16 14:46:15 +0000 |
commit | f78863b6e5b3593fa31f866d5b55e50364243826 (patch) | |
tree | 2991daae0a78039a9c96013cd01d3282e3362ecb | |
parent | 5e053d4db7ef162f13246219a5e0b12046a7c7f8 (diff) | |
download | hercules-f78863b6e5b3593fa31f866d5b55e50364243826.tar.gz hercules-f78863b6e5b3593fa31f866d5b55e50364243826.tar.bz2 hercules-f78863b6e5b3593fa31f866d5b55e50364243826.tar.xz hercules-f78863b6e5b3593fa31f866d5b55e50364243826.zip |
* [Added]:
- Added option #25 to buildin_setmobdata to set the callback_flag.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7203 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r-- | Changelog-Trunk.txt | 2 | ||||
-rw-r--r-- | src/map/script.c | 3 |
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; |