From 7e68906ef18a55cdffcd29730060c108ee9b9bf8 Mon Sep 17 00:00:00 2001 From: Haru Date: Tue, 27 Aug 2013 18:29:13 +0200 Subject: Standardized the format of some NPC parse error messages - For better machine-parsing of such messages (i.e. in IDEs) Signed-off-by: Haru --- 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 944759f39..3b0557235 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -1904,9 +1904,9 @@ void script_errorwarning_sub(StringBuf *buf, const char* src, const char* file, } if( line >= 0 ) - StrBuf->Printf(buf, "script error on %s line %d\n", file, line); + StrBuf->Printf(buf, "script error in file '%s' line %d\n", file, line); else - StrBuf->Printf(buf, "script error on %s item ID %d\n", file, -line); + StrBuf->Printf(buf, "script error in file '%s' item ID %d\n", file, -line); StrBuf->Printf(buf, " %s\n", error_msg); for(j = 0; j < 5; j++ ) { -- cgit v1.2.3-70-g09d2