mirror of
https://github.com/fedddddd/iw5-gsc-utils.git
synced 2025-04-22 05:35:43 +00:00
Update dllmain.cpp
This commit is contained in:
parent
50b83787e7
commit
e918bdf28f
@ -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" \
|
||||
|
Loading…
x
Reference in New Issue
Block a user