mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2025-02-05 18:20:33 +03:00
cleanup
This commit is contained in:
parent
a63bcf0a10
commit
d98e8f8b60
@ -437,7 +437,6 @@ void CCSBot::Update()
|
|||||||
}
|
}
|
||||||
else
|
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)
|
// 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
|
// 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))
|
if (IsVisible(m_enemy, false, &m_visibleEnemyParts))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user