From b81e57a9a349e06fba2ad56757ea3d08b01db586 Mon Sep 17 00:00:00 2001 From: FlavioJS Date: Sun, 31 Dec 2006 09:22:25 +0000 Subject: - Updated getitem and guardian entries in script_commands.txt. - Fixed getitem trying to get from the wrong argument. - Now getitem can be run on scripts without a player attached if is specified. - Now the two last arguments of guardian are optional and independant of each other ("" and ). This way the previous implementation and script_commands definition are still valid code. - Now buildin function names and argument definitions are checked for validity before adding the function to the script engine. Argument definitions follow the pattern: (v|s|i|l)*\?*\*? v - value (string or int) s - string i - int l - label ? - one optional parameter * - unknown number of optional parameters git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9599 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/log.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/map/log.c') diff --git a/src/map/log.c b/src/map/log.c index 209b81d32..ff1487d0c 100644 --- a/src/map/log.c +++ b/src/map/log.c @@ -15,13 +15,9 @@ #include "log.h" #ifndef SQL_DEBUG - -#define mysql_query(_x, _y) mysql_real_query(_x, _y, strlen(_y)) //supports ' in names and runs faster [Kevin] - + #define mysql_query(_x, _y) mysql_real_query(_x, _y, strlen(_y)) //supports ' in names and runs faster [Kevin] #else - -#define mysql_query(_x, _y) debug_mysql_query(__FILE__, __LINE__, _x, _y) - + #define mysql_query(_x, _y) debug_mysql_query(__FILE__, __LINE__, _x, _y) #endif struct Log_Config log_config; -- cgit v1.2.3-60-g2f50