Update Trigger.cpp
This commit is contained in:
parent
61c984fdba
commit
69f0418896
@ -158,6 +158,9 @@ bool ShouldShoot()
|
|||||||
if (!g_pLocalPlayer->bZoomed && !(current_user_cmd->buttons & IN_ATTACK))
|
if (!g_pLocalPlayer->bZoomed && !(current_user_cmd->buttons & IN_ATTACK))
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
// Check if player is bonked
|
||||||
|
if (HasCondition<TFCond_Bonked>(g_pLocalPlayer->entity))
|
||||||
|
return false;
|
||||||
// Check if player is taunting
|
// Check if player is taunting
|
||||||
if (HasCondition<TFCond_Taunting>(g_pLocalPlayer->entity))
|
if (HasCondition<TFCond_Taunting>(g_pLocalPlayer->entity))
|
||||||
return false;
|
return false;
|
||||||
|
Reference in New Issue
Block a user