diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-07-13 18:29:28 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-07-13 18:29:28 +0000 |
commit | 858c0649f82e6f99ab711f3e22cea8a024f5a55d (patch) | |
tree | 3af17ea8735395fe1f6da4711a7e94672417d653 | |
parent | ad8302e2d2e702ae6ebf2a40240ea30c296140b4 (diff) | |
download | hercules-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
-rw-r--r-- | Changelog-Trunk.txt | 2 | ||||
-rw-r--r-- | src/map/script.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index 6a858692a..19a2db65b 100644 --- a/Changelog-Trunk.txt +++ b/Changelog-Trunk.txt @@ -3,6 +3,8 @@ Date Added AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK. IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK. +2007/07/13 + * Fixed yet another script engine typo, this time in 'copyarray' [ultramage] 2007/07/09 * Rev. 10872 Removed a comment I had placed on line 6879 in Skill.c. [L0ne_W0lf] * Rev. 10870 Alchemist skill "AM_CANNIBALIZE" ("Summon_Flora") now [L0ne_W0lf] 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); |