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