From d601658a527067c7ef93c1d00081d05467fd461f Mon Sep 17 00:00:00 2001 From: Diavolo Date: Sun, 22 May 2022 17:35:52 +0200 Subject: [PATCH] Fix format string for chat glog call I based myself off of Black Ops instead of IW4, sry --- src/module/chat.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/module/chat.cpp b/src/module/chat.cpp index a93e630..526a2f5 100644 --- a/src/module/chat.cpp +++ b/src/module/chat.cpp @@ -22,11 +22,11 @@ static void notify_on_say(game::native::gentity_s* ent, int mode, const char* me if (mode == 0) { - log_file::g_log_printf("say;%d;%d;%s;%s\n", guid, ent_num, name, message + 1); + log_file::g_log_printf("say;%s;%d;%s;%s\n", guid, ent_num, name, message + 1); } else { - log_file::g_log_printf("sayteam;%d;%d;%s;%s\n", guid, ent_num, name, message + 1); + log_file::g_log_printf("sayteam;%s;%d;%s;%s\n", guid, ent_num, name, message + 1); } }