From ba26be9bea801f219fa6340178fd6b13f02d574e Mon Sep 17 00:00:00 2001 From: BobTheBob9 Date: Thu, 15 Sep 2022 00:20:56 +0100 Subject: clang format, fix issues with server registration and rpak loading --- NorthstarDLL/clientchathooks.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'NorthstarDLL/clientchathooks.cpp') diff --git a/NorthstarDLL/clientchathooks.cpp b/NorthstarDLL/clientchathooks.cpp index 647e67f1..a7a42689 100644 --- a/NorthstarDLL/clientchathooks.cpp +++ b/NorthstarDLL/clientchathooks.cpp @@ -7,8 +7,10 @@ AUTOHOOK_INIT() -AUTOHOOK(CHudChat__AddGameLine, client.dll + 0x22E580, -void,, (void* self, const char* message, int inboxId, bool isTeam, bool isDead)) +// clang-format off +AUTOHOOK(CHudChat__AddGameLine, client.dll + 0x22E580, +void, __fastcall, (void* self, const char* message, int inboxId, bool isTeam, bool isDead)) +// clang-format on { // This hook is called for each HUD, but we only want our logic to run once. if (self != *CHudChat::allHuds) -- cgit v1.2.3