From 06d3201e6d176d420d70cd5e320d252eb364b682 Mon Sep 17 00:00:00 2001 From: ASpoonPlaysGames <66967891+ASpoonPlaysGames@users.noreply.github.com> Date: Sun, 15 Dec 2024 18:19:19 +0000 Subject: [PATCH] formatting --- primedev/server/serverchathooks.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/primedev/server/serverchathooks.cpp b/primedev/server/serverchathooks.cpp index a58a0da70..79141a21c 100644 --- a/primedev/server/serverchathooks.cpp +++ b/primedev/server/serverchathooks.cpp @@ -31,8 +31,10 @@ void(__fastcall* MessageWriteBool)(bool bValue); bool bShouldCallSayTextHook = false; -static void (__fastcall* o_pCServerGameDLL__OnReceivedSayTextMessage)(CServerGameDLL* self, unsigned int senderPlayerId, const char* text, bool isTeam) = nullptr; -static void __fastcall h_CServerGameDLL__OnReceivedSayTextMessage(CServerGameDLL* self, unsigned int senderPlayerId, const char* text, bool isTeam) +static void(__fastcall* o_pCServerGameDLL__OnReceivedSayTextMessage)( + CServerGameDLL* self, unsigned int senderPlayerId, const char* text, bool isTeam) = nullptr; +static void __fastcall h_CServerGameDLL__OnReceivedSayTextMessage( + CServerGameDLL* self, unsigned int senderPlayerId, const char* text, bool isTeam) { RemoveAsciiControlSequences(const_cast(text), true);