mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-01-31 22:00:48 +00:00
Fix GC ignoring DynArrays inside fixed Arrays
This commit is contained in:
parent
d4f4b9b599
commit
1a7a56ce39
1 changed files with 1 additions and 1 deletions
|
@ -1862,7 +1862,7 @@ void PArray::SetPointer(void *base, unsigned offset, TArray<size_t> *special)
|
||||||
|
|
||||||
void PArray::SetPointerArray(void *base, unsigned offset, TArray<size_t> *special)
|
void PArray::SetPointerArray(void *base, unsigned offset, TArray<size_t> *special)
|
||||||
{
|
{
|
||||||
if (ElementType->isStruct())
|
if (ElementType->isStruct() || ElementType->isDynArray())
|
||||||
{
|
{
|
||||||
for (unsigned int i = 0; i < ElementCount; ++i)
|
for (unsigned int i = 0; i < ElementCount; ++i)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue