[Main]: Remove bugged code. (#640)
This commit is contained in:
parent
f91fa0d0b2
commit
873f54c7a3
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user