This commit is contained in:
s1lentq 2023-12-12 06:43:32 +07:00
parent a63bcf0a10
commit d98e8f8b60

View File

@ -437,7 +437,6 @@ void CCSBot::Update()
}
else
{
const int dada = offsetof(CCSBot, m_visibleEnemyParts);
// check LOS to current enemy (chest & head), in case he's dead (GetNearestEnemy() only returns live players)
// note we're not checking FOV - once we've acquired an enemy (which does check FOV), assume we know roughly where he is
if (IsVisible(m_enemy, false, &m_visibleEnemyParts))