mirror of
https://github.com/CookiePLMonster/SilentPatch.git
synced 2024-12-29 15:23:02 +05: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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue