diff --git a/include/script_api/macros.h b/include/script_api/macros.h index 4d1b5ba9d4..8da11e64b9 100644 --- a/include/script_api/macros.h +++ b/include/script_api/macros.h @@ -502,7 +502,7 @@ /// EVT_CALL(ApiFunction) /// /// The given arguments can be accessed from the API function using `thread->ptrReadPos`. -#define EVT_CALL(FUNC, ...) EVT_CMD(EVT_OP_CALL, (Bytecode) FUNC, ##__VA_ARGS__), +#define EVT_CALL(FUNC, ARGS...) EVT_CMD(EVT_OP_CALL, (Bytecode) FUNC, ##ARGS), /****** COMMON SCRIPTS ************************************************************************************************/