whoops
Some checks are pending
Build coop / build-ubuntu (push) Waiting to run
Build coop / build-windows (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run

This commit is contained in:
Isaac0-dev 2025-03-10 23:34:08 +10:00
parent af45e0cdc3
commit d3e8f9cf48

View file

@ -1083,7 +1083,7 @@ if (strcmp(command, #symb) == 0) { \
if (paramCount != params) { LOG_LUA("gfx_set_command: '" #symb "' received incorrect number of parameters. Received %u, expected %u", paramCount, params); return 0; } \
UNUSED const char symbolName[] = #symb; \
REPEAT(HANDLE_PARAM, params); \
const Gfx _Gfx[] = { CALL_SYMB(symb, LIST_ARGS(GET_ARG, params)); } \
const Gfx _Gfx[] = { CALL_SYMB(symb, LIST_ARGS(GET_ARG, params)) }; \
memcpy(gfx, _Gfx, sizeof(_Gfx)); \
return 1; \
}