Fixed 'cleararray' not able to erase array entry 127 (bugreport:864)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12253 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
0ee9036629
commit
ea94316689
@ -4,6 +4,7 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO
|
||||
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
|
||||
|
||||
2008/02/27
|
||||
* Fixed 'cleararray' not able to erase array entry 127 (bugreport:864)
|
||||
* Fixed @reloadmobdb producing memory leaks in pet db (bugreport:1030)
|
||||
* Patched an unresolved case where knocking back a bard/dancer would
|
||||
cause the mapserver to crash (bugreport:1043)
|
||||
|
@ -4853,7 +4853,7 @@ BUILDIN_FUNC(cleararray)
|
||||
if( end > 127 )
|
||||
end = 127;
|
||||
|
||||
for( ; start < end; ++start )
|
||||
for( ; start <= end; ++start )
|
||||
set_reg(st, sd, reference_uid(id, start), name, v, script_getref(st,2));
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user