浏览代码

Forgot to switch function names out from r12873 >_>

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12874 54d463be-8e91-2dee-dedb-b68131a5f0ec
sketchyphoenix 17 年之前
父节点
当前提交
03a1f29549
共有 1 个文件被更改,包括 4 次插入3 次删除
  1. 4 3
      src/map/script.c

+ 4 - 3
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;
 }