From 44a6e0230002ae8a55167453a3ff3283a59b1859 Mon Sep 17 00:00:00 2001 From: GeckoEidechse Date: Fri, 9 Sep 2022 01:02:11 +0200 Subject: Add clang-format ignores for AUTOHOOK The proper solution would be to have some way in clang-format config file that specifies that our `AUTOHOOK` formatting should be considered correct but that takes more investigation and simply ignoring formatting in AUTOHOOK macros is the lower hanging fruit. --- NorthstarDLL/modlocalisation.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'NorthstarDLL/modlocalisation.cpp') diff --git a/NorthstarDLL/modlocalisation.cpp b/NorthstarDLL/modlocalisation.cpp index 14379bb3..3588ad55 100644 --- a/NorthstarDLL/modlocalisation.cpp +++ b/NorthstarDLL/modlocalisation.cpp @@ -3,8 +3,10 @@ AUTOHOOK_INIT() +// clang-format off AUTOHOOK(AddLocalisationFile, localize.dll + 0x6D80, bool,, (void* pVguiLocalize, const char* path, const char* pathId, char unknown)) +// clang-format on { static bool bLoadModLocalisationFiles = true; bool ret = AddLocalisationFile(pVguiLocalize, path, pathId, unknown); -- cgit v1.2.3