소스 검색

Minor tweak in
modified src/map/script.c


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9373 54d463be-8e91-2dee-dedb-b68131a5f0ec

Lance 18 년 전
부모
커밋
b59e7b8596
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/map/script.c

+ 1 - 1
src/map/script.c

@@ -234,7 +234,7 @@ static void report_src(struct script_state *st) {
 }
 
 static void check_event(struct script_state *st, unsigned char *event){
-	if(event != NULL && event[0] != '\0' && !strstr(event,"::")){
+	if(event != NULL && event[0] != '\0' && !stristr(event,"::On")){
 		ShowError("NPC event parameter deprecated! Please use 'NPCNAME::OnEVENT' instead of '%s'.\n",event);
 		report_src(st);
 	}