[AntiCheat] Disable VirtualProtect patch
This commit is contained in:
parent
de48b1c694
commit
74a39c6e7b
@ -33,7 +33,6 @@ namespace Components
|
|||||||
|
|
||||||
static void QuickCodeScanner_1();
|
static void QuickCodeScanner_1();
|
||||||
static void QuickCodeScanner_2();
|
static void QuickCodeScanner_2();
|
||||||
static void QuickCodeScanner_3();
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
enum IntergrityFlag
|
enum IntergrityFlag
|
||||||
|
@ -286,12 +286,12 @@ namespace Components
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
#if !defined(DEBUG) && !defined(DISABLE_ANTICHEAT)
|
// #if !defined(DEBUG) && !defined(DISABLE_ANTICHEAT)
|
||||||
if (!Dedicated::IsEnabled() && !ZoneBuilder::IsEnabled() && !Utils::IsWineEnvironment() && !Loader::PerformingUnitTests())
|
// if (!Dedicated::IsEnabled() && !ZoneBuilder::IsEnabled() && !Utils::IsWineEnvironment() && !Loader::PerformingUnitTests())
|
||||||
{
|
// {
|
||||||
AntiCheat::PatchVirtualProtect(VirtualProtect, VirtualProtectEx);
|
// AntiCheat::PatchVirtualProtect(VirtualProtect, VirtualProtectEx);
|
||||||
}
|
// }
|
||||||
#endif
|
// #endif
|
||||||
}
|
}
|
||||||
|
|
||||||
Localization::~Localization()
|
Localization::~Localization()
|
||||||
|
Loading…
Reference in New Issue
Block a user