Update LagExploit.cpp

This commit is contained in:
BenCat07 2018-02-05 14:19:07 +01:00 committed by GitHub
parent c7ad6a55fe
commit 3c84765540
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,6 +62,8 @@ void CreateMove()
{
if (CE_BAD(LOCAL_E))
return;
if (!LOCAL_E->m_bAlivePlayer)
return;
if (exticks > 0)
exticks--;
@ -136,8 +138,6 @@ void CreateMove()
static bool bWasHolding = false;
bool bIsHolding = ((g_pUserCmd->buttons & IN_ATTACK) ||
(g_pUserCmd->buttons & IN_ATTACK2));
if (!LOCAL_E->m_bAlivePlayer)
return;
if (instant_weapon_switch && not HasCondition<TFCond_Cloaked>(LOCAL_E))
{
static int lastweapon = 0;