From bda01e0f0f44a4a5b8d82544fbeffc69697cccce Mon Sep 17 00:00:00 2001 From: Marco Cawthorne Date: Wed, 20 Jul 2022 16:48:41 -0700 Subject: [PATCH] Shared: NSLog should just take whatever N args --- src/shared/global.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/global.h b/src/shared/global.h index 8b9bf9c4..ef8e4d89 100644 --- a/src/shared/global.h +++ b/src/shared/global.h @@ -20,7 +20,7 @@ _NSLog(string msg) if (cvar("g_developer") == 1) print(sprintf("%f %s\n", time, msg)); } -#define NSLog(x, ...) _NSLog(sprintf(x, __VA_ARGS__)) +#define NSLog(...) _NSLog(sprintf(__VA_ARGS__)) enumflags {