ZoneCodeGenerator: Fix LoadArray template to reference array elements correctly

This commit is contained in:
Jan 2019-11-10 18:06:08 +01:00
parent 746dd825bf
commit 76cae3a948

View File

@ -151,7 +151,7 @@ void $LoaderClassName(context.Asset)$::LoadArray_$structure.Type.Name$($structur
for(size_t index = 0; index < count; index++) for(size_t index = 0; index < count; index++)
{ {
Load_$structure.Type.Name$(&pArray[index], false); Load_$structure.Type.Name$(&(*pArray)[index], false);
} }
} }
>> >>