- seems the wrong version of this got committed...

This commit is contained in:
Christoph Oelckers 2017-04-01 12:04:31 +02:00
parent 41f2f61b94
commit e780cd8297

View file

@ -273,8 +273,8 @@ VMFrameStack::~VMFrameStack()
VMFrame *VMFrameStack::AllocFrame(VMScriptFunction *func)
{
frame->Func = func;
VMFrame *frame = Alloc(func->StackSize);
frame->Func = func;
frame->NumRegD = func->NumRegD;
frame->NumRegF = func->NumRegF;
frame->NumRegS = func->NumRegS;