Fixed replacestr

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16608 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
cookiecrumbs 2012-08-08 13:20:49 +00:00
parent 89917d2150
commit cdcc95a0a4

View File

@ -13945,7 +13945,7 @@ BUILDIN_FUNC(replacestr)
if(script_hasdata(st, 6)) {
count = script_getnum(st, 6);
if(!count) {
if(count == 0) {
ShowError("script:replacestr: Invalid count value. Expected int got string\n");
st->state = END;
return 1;