Clang
This commit is contained in:
parent
36654d7b6e
commit
6f4b8957da
@ -111,7 +111,9 @@ static CatVar debug_projectiles(CV_SWITCH, "debug_projectiles", "0",
|
|||||||
"Debug Projectiles");
|
"Debug Projectiles");
|
||||||
|
|
||||||
static CatVar fakelag_amount(CV_INT, "fakelag", "0", "Bad Fakelag");
|
static CatVar fakelag_amount(CV_INT, "fakelag", "0", "Bad Fakelag");
|
||||||
static CatVar serverlag_amount(CV_INT, "serverlag", "0", "Lag the server by spamming this many voicecommands per tick");
|
static CatVar serverlag_amount(
|
||||||
|
CV_INT, "serverlag", "0",
|
||||||
|
"Lag the server by spamming this many voicecommands per tick");
|
||||||
CatVar semiauto(CV_INT, "semiauto", "0", "Semiauto");
|
CatVar semiauto(CV_INT, "semiauto", "0", "Semiauto");
|
||||||
|
|
||||||
bool *bSendPackets;
|
bool *bSendPackets;
|
||||||
|
@ -667,7 +667,8 @@ void FrameStageNotify_hook(void *_this, int stage)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (cathook && stage == FRAME_RENDER_START) {
|
if (cathook && stage == FRAME_RENDER_START)
|
||||||
|
{
|
||||||
INetChannel *ch;
|
INetChannel *ch;
|
||||||
ch = (INetChannel *) g_IEngine->GetNetChannelInfo();
|
ch = (INetChannel *) g_IEngine->GetNetChannelInfo();
|
||||||
if (ch && !hooks::IsHooked((void *) ch))
|
if (ch && !hooks::IsHooked((void *) ch))
|
||||||
|
Reference in New Issue
Block a user