mirror of
https://github.com/CookiePLMonster/SilentPatch.git
synced 2024-11-25 23:02:31 +01:00
III: Tighten III Aircraft verison check
A theoretical future 0x101 version should already be SP-aware.
This commit is contained in:
parent
b9a61611c3
commit
4732a06003
@ -41,7 +41,7 @@ namespace ModCompat
|
|||||||
auto func = (uint32_t(*)())GetProcAddress(module, "GetBuildNumber");
|
auto func = (uint32_t(*)())GetProcAddress(module, "GetBuildNumber");
|
||||||
if (func != nullptr)
|
if (func != nullptr)
|
||||||
{
|
{
|
||||||
bOldModVersion = func() < 0x200;
|
bOldModVersion = func() <= 0x100;
|
||||||
}
|
}
|
||||||
return bOldModVersion;
|
return bOldModVersion;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user