소스 검색

Remove the debug message for a wrong mob id in getmonsterinfo script command (already return a value)

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

+ 1 - 1
src/map/script.c

@@ -15716,7 +15716,7 @@ BUILDIN_FUNC(getmonsterinfo)
 			script_pushconststr(st,"null");
 		else
 			script_pushint(st,-1);
-		return -1;
+		return 0;
 	}
 	mob = mob_db(mob_id);
 	switch ( script_getnum(st,3) ) {