diff options
author | shennetsind <ind@henn.et> | 2013-11-04 22:45:55 -0200 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-11-04 22:45:55 -0200 |
commit | 5b5618f072a6aaa7a32aae516809bd0671580631 (patch) | |
tree | dd9371afbbd0cfca71673dece4d3352f33ba41a7 /src/map/script.c | |
parent | 0a965aafde882e905ea71f3bcef8f4ff81c1c327 (diff) | |
parent | ba5ca9e100564cecb4a1fb1edabca1c042c10204 (diff) | |
download | hercules-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.c | 4 |
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++ ) { |