Explorar el Código

Fix a compilation error from BsRTTIType.h

Marc Legendre hace 9 años
padre
commit
e68639e272
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      Source/BansheeUtility/Include/BsRTTIType.h

+ 2 - 2
Source/BansheeUtility/Include/BsRTTIType.h

@@ -546,7 +546,7 @@ namespace BansheeEngine
 
 			UINT32 typeSize = 0;
 			if(field->hasDynamicSize())
-				typeSize = field->getArrayElemDynamicSize(object, arrIdx);
+				typeSize = field->getArrayElemDynamicSize(object, index);
 			else
 				typeSize = field->getTypeSize();
 
@@ -1238,4 +1238,4 @@ namespace BansheeEngine
 	}
 
 	/** @} */
-}
+}