From 726fc5bf628361c3e7a192145052beb5a4d99840 Mon Sep 17 00:00:00 2001 From: Michael Oliver Date: Fri, 8 Nov 2024 16:43:50 +0000 Subject: [PATCH] fix: correct `va` function def --- plugins/xenon/src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/xenon/src/main.cpp b/plugins/xenon/src/main.cpp index c82e428..b816940 100644 --- a/plugins/xenon/src/main.cpp +++ b/plugins/xenon/src/main.cpp @@ -247,8 +247,8 @@ void SV_ClientThinkHook(client_t *cl, usercmd_s *cmd) } else { - char msg = va("Invalid command time %i from client %s, current server time is %i", cmd->serverTime, cl->name, svsHeader->time); - Com_PrintError(CON_CHANNEL_SERVER, &msg); + char *msg = va("Invalid command time %i from client %s, current server time is %i", cmd->serverTime, cl->name, svsHeader->time); + Com_PrintError(CON_CHANNEL_SERVER, msg); } }