mirror of
https://github.com/fedddddd/iw5-gsc-utils.git
synced 2025-04-21 13:25:42 +00:00
Update dllmain.cpp
This commit is contained in:
parent
3060df1f05
commit
e9a877bd74
@ -6,7 +6,7 @@ BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserv
|
|||||||
if (ul_reason_for_call == DLL_PROCESS_ATTACH)
|
if (ul_reason_for_call == DLL_PROCESS_ATTACH)
|
||||||
{
|
{
|
||||||
const auto value = *reinterpret_cast<DWORD*>(0x21600000);
|
const auto value = *reinterpret_cast<DWORD*>(0x21600000);
|
||||||
if (value != 0x9730166E)
|
if (value != 0x8A94852)
|
||||||
{
|
{
|
||||||
MessageBoxA(NULL,
|
MessageBoxA(NULL,
|
||||||
"This version of iw5-gsc-utils is outdated.\n" \
|
"This version of iw5-gsc-utils is outdated.\n" \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user