Update dllmain.cpp

This commit is contained in:
Federico Cecchetto 2021-12-02 00:42:58 +01:00
parent 50b83787e7
commit e918bdf28f

View File

@ -5,8 +5,8 @@ BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserv
{
if (ul_reason_for_call == DLL_PROCESS_ATTACH)
{
const auto value = *reinterpret_cast<DWORD*>(0x20800000);
if (value != 0x2A6784ED)
const auto value = *reinterpret_cast<DWORD*>(0x20900000);
if (value != 0xF0681B6A)
{
MessageBoxA(NULL,
"This version of iw5-gsc-utils is outdated.\n" \