mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 14:51:51 +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)
|
||||
{
|
||||
build->Registers[REGT_INT].Return(arrOffsetReg, 1);
|
||||
build->Registers[REGT_POINTER].Return(arrOffsetReg, 1);
|
||||
}
|
||||
|
||||
return ExpEmit();
|
||||
|
|
Loading…
Reference in a new issue