Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ASpoonPlaysGames committed Dec 15, 2024
1 parent 9bf2330 commit 06d3201
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions primedev/server/serverchathooks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<char*>(text), true);

Expand Down

0 comments on commit 06d3201

Please sign in to comment.