summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-16 14:46:15 +0000
committerLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-16 14:46:15 +0000
commitf78863b6e5b3593fa31f866d5b55e50364243826 (patch)
tree2991daae0a78039a9c96013cd01d3282e3362ecb /src
parent5e053d4db7ef162f13246219a5e0b12046a7c7f8 (diff)
downloadhercules-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
Diffstat (limited to 'src')
-rw-r--r--src/map/script.c3
1 files changed, 3 insertions, 0 deletions
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;