From 1d006194c8ddf8a24a963680e30c48cc5aef78d1 Mon Sep 17 00:00:00 2001 From: FlavioJS Date: Wed, 6 Jun 2007 16:53:09 +0000 Subject: git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10706 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/script.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map/script.c') diff --git a/src/map/script.c b/src/map/script.c index 2194ae1a6..2248b3019 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -4382,7 +4382,7 @@ BUILDIN_FUNC(menu) if( data_isstring(data) && data_isint(data) ) {// not a string (or compatible) StringBuf_Free(buf); - ShowError("script:menu: argument #%d (from 1) is not a string or compatible.\n", (i - 1)); + ShowError("script:menu: argument #%d (from 1) is not a string or compatible (op=%s).\n", (i - 1), script_op2name(data->type)); st->state = END; return 1; } @@ -4393,7 +4393,7 @@ BUILDIN_FUNC(menu) if( !data_islabel(data) ) {// not a label StringBuf_Free(buf); - ShowError("script:menu: label argument of menu option #%d (from 1) is not a label.\n", (script_lastdata(st) - 1)); + ShowError("script:menu: argument #%d (from 1) is not a label or label not found (op=%s).\n", i, script_op2name(data->type)); st->state = END; return 1; } -- cgit v1.2.3-60-g2f50