[Main] Shorten binary check

This commit is contained in:
momo5502 2017-05-30 23:35:56 +02:00
parent 86491a7372
commit ee91306681

View File

@ -66,10 +66,7 @@ BOOL APIENTRY DllMain(HMODULE /*hModule*/, DWORD ul_reason_for_call, LPVOID /*l
Steam::Proxy::RunMod();
// Ensure we're working with our desired binary
if (Utils::Hook::Get<DWORD>(0x4C0FFF) != 0x6824748B)
{
return FALSE;
}
if (Utils::Hook::Get<DWORD>(0x4C0FFF) != 0x6824748B) return FALSE;
#ifndef DISABLE_ANTICHEAT
[]()