Revert shit
This commit is contained in:
parent
3db0667929
commit
ddfd65cad4
2
deps/protobuf
vendored
2
deps/protobuf
vendored
@ -1 +1 @@
|
||||
Subproject commit 48ebb29a8ec118bf6b9ee39f6be42b57321c099a
|
||||
Subproject commit dfaf1aac309c1b65679bb28fb593303ae3e8d170
|
@ -5,7 +5,6 @@ namespace Components
|
||||
int AntiCheat::LastCheck;
|
||||
std::string AntiCheat::Hash;
|
||||
Utils::Hook AntiCheat::LoadLibHook[4];
|
||||
bool AntiCheat::InjectPatches = false;
|
||||
|
||||
// This function does nothing, it only adds the two passed variables and returns the value
|
||||
// The only important thing it does is to clean the first parameter, and then return
|
||||
@ -150,7 +149,6 @@ namespace Components
|
||||
|
||||
AntiCheat::AntiCheat()
|
||||
{
|
||||
AntiCheat::InjectPatches = false;
|
||||
AntiCheat::EmptyHash();
|
||||
|
||||
#ifdef DEBUG
|
||||
|
@ -23,6 +23,5 @@ namespace Components
|
||||
static void NullSub();
|
||||
|
||||
static Utils::Hook LoadLibHook[4];
|
||||
static bool InjectPatches;
|
||||
};
|
||||
}
|
||||
|
@ -67,8 +67,8 @@ namespace Components
|
||||
Game::R_AddCmdDrawText("DEBUG-BUILD", 0x7FFFFFFF, font, 15.0f, 10.0f + Game::R_TextHeight(font), 1.0f, 1.0f, 0.0f, color, Game::ITEM_TEXTSTYLE_SHADOWED);
|
||||
});
|
||||
#else
|
||||
/*Utils::Hook::Set(0x6D70AC, Exception::SetUnhandledExceptionFilterStub);
|
||||
SetUnhandledExceptionFilter(&Exception::ExceptionFilter);*/
|
||||
Utils::Hook::Set(0x6D70AC, Exception::SetUnhandledExceptionFilterStub);
|
||||
SetUnhandledExceptionFilter(&Exception::ExceptionFilter);
|
||||
#endif
|
||||
|
||||
Command::Add("mapTest", [] (Command::Params params)
|
||||
|
Loading…
Reference in New Issue
Block a user