summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-07-13 18:29:28 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-07-13 18:29:28 +0000
commit858c0649f82e6f99ab711f3e22cea8a024f5a55d (patch)
tree3af17ea8735395fe1f6da4711a7e94672417d653 /src/map/script.c
parentad8302e2d2e702ae6ebf2a40240ea30c296140b4 (diff)
downloadhercules-858c0649f82e6f99ab711f3e22cea8a024f5a55d.tar.gz
hercules-858c0649f82e6f99ab711f3e22cea8a024f5a55d.tar.bz2
hercules-858c0649f82e6f99ab711f3e22cea8a024f5a55d.tar.xz
hercules-858c0649f82e6f99ab711f3e22cea8a024f5a55d.zip
Fixed yet another script engine typo, this time in 'copyarray'
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10878 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/script.c')
-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 a4e348083..bda159a47 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -5649,7 +5649,7 @@ BUILDIN_FUNC(copyarray)
{// normal copy
for( i = 0; i < count; ++i )
{
- if( id2 + i < 128 )
+ if( idx2 + i < 128 )
v = get_val2(st, reference_uid(id2, idx2 + i), reference_getref(data2));
else// out of range - assume ""/0
v = (void*)(is_string_variable(name1) ? "" : 0);