From 0b40d4d9ea1cbfbb92795e0d6f26cf108f2dec5f Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Wed, 16 Apr 2025 21:28:45 +0100 Subject: Add missing REQUIRE_GAMEDATA things to demorec These gamedata entries are always available, but there's no reason not to check for them in case that changes in future. As-is now, the checks will be trivial for the compiler to optimise out. --- src/vcall.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vcall.h') diff --git a/src/vcall.h b/src/vcall.h index 285bc79..55fcfe6 100644 --- a/src/vcall.h +++ b/src/vcall.h @@ -128,7 +128,7 @@ #define DECL_VFUNC_CDECL(ret, name, idx, ...) \ _DECL_VFUNC(ret, , name, idx __VA_OPT__(,) __VA_ARGS__) -/* Define a virtual function with an index defined elsewhere */ +/* Define a virtual function with an index defined elsewhere (e.g. gamedata) */ #define DECL_VFUNC_DYN(ret, name, ...) \ _DECL_VFUNC_DYN(ret, VCALLCONV, name __VA_OPT__(,) __VA_ARGS__) -- cgit v1.2.3-54-g00ecf