summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-11-04 22:45:55 -0200
committershennetsind <ind@henn.et>2013-11-04 22:45:55 -0200
commit5b5618f072a6aaa7a32aae516809bd0671580631 (patch)
treedd9371afbbd0cfca71673dece4d3352f33ba41a7 /src/map/script.c
parent0a965aafde882e905ea71f3bcef8f4ff81c1c327 (diff)
parentba5ca9e100564cecb4a1fb1edabca1c042c10204 (diff)
downloadhercules-5b5618f072a6aaa7a32aae516809bd0671580631.tar.gz
hercules-5b5618f072a6aaa7a32aae516809bd0671580631.tar.bz2
hercules-5b5618f072a6aaa7a32aae516809bd0671580631.tar.xz
hercules-5b5618f072a6aaa7a32aae516809bd0671580631.zip
Merge branch 'master' of https://github.com/HerculesWS/Hercules
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c4
1 files changed, 2 insertions, 2 deletions
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++ ) {