Update pointers

This commit is contained in:
Federico Cecchetto
2022-01-29 16:37:04 +01:00
parent 9ca07aca55
commit 1b65bda323
2 changed files with 10 additions and 10 deletions
+4 -4
View File
@@ -5,13 +5,13 @@ 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*>(0x21000000);
if (value != 0x7AC6)
const auto value = *reinterpret_cast<DWORD*>(0x21500000);
if (value != 0x9C28D23B)
{
MessageBoxA(NULL,
"This version of iw5-gsc-utils is outdated.\n" \
"Download the latest dll from here: https://github.com/fedddddd/iw5-gsc-utils/releases" \
, "ERROR", MB_ICONERROR);
"Download the latest dll from here: https://github.com/fedddddd/iw5-gsc-utils/releases",
"ERROR", MB_ICONERROR);
return FALSE;
}