mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 14:51:51 +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)
|
||||
{
|
||||
if (ElementType->isStruct())
|
||||
if (ElementType->isStruct() || ElementType->isDynArray())
|
||||
{
|
||||
for (unsigned int i = 0; i < ElementCount; ++i)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue