From f0b6539b1f935f0c05ed3d6543abb604659418d7 Mon Sep 17 00:00:00 2001 From: FlavioJS Date: Tue, 3 Jul 2007 01:54:46 +0000 Subject: * Defined out a problematic piece code in conv_num. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10843 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/script.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/map/script.c b/src/map/script.c index 68cbb2bdc..c3985a4a3 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -2376,6 +2376,9 @@ int conv_num(struct script_state* st, struct script_data* data) data->type = C_INT; data->u.num = (int)num; } +#if 0 + // FIXME this function is being used to retrieve the position of labels and + // probably other stuff [FlavioJS] else {// unsupported data type ShowError("script:conv_num: cannot convert to number, defaulting to 0\n"); @@ -2384,6 +2387,7 @@ int conv_num(struct script_state* st, struct script_data* data) data->type = C_INT; data->u.num = 0; } +#endif return data->u.num; } -- cgit v1.2.3-60-g2f50