mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-01-31 13:50:48 +00:00
- fix the wrong register type being freed when initializing arrays.
This commit is contained in:
parent
1919534298
commit
590f45441f
1 changed files with 1 additions and 1 deletions
|
@ -11224,7 +11224,7 @@ ExpEmit FxLocalArrayDeclaration::Emit(VMFunctionBuilder *build)
|
||||||
}
|
}
|
||||||
if (!isDynamicArray)
|
if (!isDynamicArray)
|
||||||
{
|
{
|
||||||
build->Registers[REGT_INT].Return(arrOffsetReg, 1);
|
build->Registers[REGT_POINTER].Return(arrOffsetReg, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
return ExpEmit();
|
return ExpEmit();
|
||||||
|
|
Loading…
Reference in a new issue