Bläddra i källkod

Fixed yet another script engine typo, this time in 'copyarray'

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10878 54d463be-8e91-2dee-dedb-b68131a5f0ec
ultramage 18 år sedan
förälder
incheckning
5ba6e5f949
2 ändrade filer med 3 tillägg och 1 borttagningar
  1. 2 0
      Changelog-Trunk.txt
  2. 1 1
      src/map/script.c

+ 2 - 0
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]

+ 1 - 1
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);