summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authorsketchyphoenix <sketchyphoenix@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-06-22 00:39:13 +0000
committersketchyphoenix <sketchyphoenix@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-06-22 00:39:13 +0000
commit15248492ed2ed7076f3327d8d8ca3b12a37ec4c3 (patch)
tree19d781227d36abf2fd9a1214e96288ce170e1c3a /src/map/script.c
parentc724e71f0e8487cdb3c1016c30e7a739f73497ef (diff)
downloadhercules-15248492ed2ed7076f3327d8d8ca3b12a37ec4c3.tar.gz
hercules-15248492ed2ed7076f3327d8d8ca3b12a37ec4c3.tar.bz2
hercules-15248492ed2ed7076f3327d8d8ca3b12a37ec4c3.tar.xz
hercules-15248492ed2ed7076f3327d8d8ca3b12a37ec4c3.zip
Forgot to switch function names out from r12873 >_>
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12874 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/map/script.c b/src/map/script.c
index 09a7b0089..db2ab5a86 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -7525,13 +7525,14 @@ BUILDIN_FUNC(killmonsterall)
if( (m=map_mapname2mapid(mapname))<0 )
return 0;
- if( script_hasdata(st,3) )
+ if( script_hasdata(st,3) ) {
if ( script_getnum(st,3) == 1 ) {
- map_foreachinmap(buildin_killmonsterall_sub_strip,m,BL_MOB);
+ map_foreachinmap(buildin_killmonsterall_sub,m,BL_MOB);
return 0;
}
+ }
- map_foreachinmap(buildin_killmonsterall_sub,
+ map_foreachinmap(buildin_killmonsterall_sub_strip,
m,BL_MOB);
return 0;
}