mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-20 00:02:55 +00:00
ZoneCodeGenerator: Fix LoadArray template to reference array elements correctly
This commit is contained in:
parent
746dd825bf
commit
76cae3a948
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
>>
|
>>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user