Fixed item script for Glorious Holy Avenger. (bugreport:9244)

http://rathena.org/board/tracker/issue-9244-9-glorious-holy-avenger/

Script command 'preg_match' will throw a debug instead of an error if PCRE is not enabled.

Signed-off-by: Euphy <euphy.raliel@rathena.org>
This commit is contained in:
Euphy
2014-08-22 23:56:08 -04:00
parent 4ffe723d8c
commit 2acf9a401a
5 changed files with 6 additions and 6 deletions

View File

@@ -19093,9 +19093,9 @@ BUILDIN_FUNC(preg_match) {
return SCRIPT_CMD_SUCCESS;
#else
ShowError("script:preg_match: cannot run without PCRE library enabled.\n");
ShowDebug("script:preg_match: cannot run without PCRE library enabled.\n");
script_pushint(st,0);
return SCRIPT_CMD_FAILURE;
return SCRIPT_CMD_SUCCESS;
#endif
}