From 873f54c7a3669ca2ca9f9d41d7815388979480ac Mon Sep 17 00:00:00 2001 From: Edo Date: Wed, 14 Dec 2022 11:26:04 +0100 Subject: [PATCH] [Main]: Remove bugged code. (#640) --- src/DllMain.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/DllMain.cpp b/src/DllMain.cpp index 2a0cbec0..16c2f485 100644 --- a/src/DllMain.cpp +++ b/src/DllMain.cpp @@ -64,7 +64,7 @@ BOOL APIENTRY DllMain(HINSTANCE /*hinstDLL*/, DWORD fdwReason, LPVOID /*lpvReser MessageBoxA(nullptr, "Failed to load game binary.\n" "You did not install the iw4x-rawfiles!\n" - "Please use the XLabs launcher to run the game. For support please visit https://xlabs.dev/support_iw4x_client", + "Please use the XLabs launcher to run the game. For support, please visit https://xlabs.dev/support_iw4x_client", "ERROR", MB_ICONERROR ); @@ -72,10 +72,8 @@ BOOL APIENTRY DllMain(HINSTANCE /*hinstDLL*/, DWORD fdwReason, LPVOID /*lpvReser } #endif -#ifndef DEBUG_BINARY_CHECK // Install entry point hook Utils::Hook(0x6BAC0F, Main::EntryPoint, HOOK_JUMP).install()->quick(); -#endif } else if (fdwReason == DLL_PROCESS_DETACH) {