summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-02-27 22:04:11 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-02-27 22:04:11 +0000
commit9c7fb1a026d2d46c1ebc1eb7f5459dd648841706 (patch)
treeda46e1655766c08602d23e03aeb7ecd25e3acdea /src
parent908fb34a5f39a3b2eb99b77b3171714e60fc815b (diff)
downloadhercules-9c7fb1a026d2d46c1ebc1eb7f5459dd648841706.tar.gz
hercules-9c7fb1a026d2d46c1ebc1eb7f5459dd648841706.tar.bz2
hercules-9c7fb1a026d2d46c1ebc1eb7f5459dd648841706.tar.xz
hercules-9c7fb1a026d2d46c1ebc1eb7f5459dd648841706.zip
Fixed 'cleararray' not able to erase array entry 127 (bugreport:864)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12253 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c
index fddf51169..8fc6ad3f5 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -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;
}