Fixed invalid name for state parameter

This is the same name the macro uses to return it...
This commit is contained in:
Boondorl 2025-07-19 09:26:42 -04:00 committed by Ricardo Luís Vaz Silva
commit b2c57b6656

View file

@ -95,9 +95,9 @@ static FState* NativeStateOffset(FState* state, int offset)
DEFINE_ACTION_FUNCTION_NATIVE(DObject, BuiltinStateOffset, NativeStateOffset)
{
PARAM_PROLOGUE;
PARAM_POINTER(state, FState);
PARAM_POINTER(st, FState);
PARAM_INT(offset);
ACTION_RETURN_STATE(NativeStateOffset(state, offset));
ACTION_RETURN_STATE(NativeStateOffset(st, offset));
}
ExpEmit FxFStateOffset::Emit(VMFunctionBuilder* build)