Fix sniper spots gay
This commit is contained in:
parent
29106eb8b9
commit
dc519d149c
@ -115,6 +115,7 @@ void Init()
|
|||||||
hide.IsExposed())
|
hide.IsExposed())
|
||||||
sniper_spots.push_back(hide.m_pos);
|
sniper_spots.push_back(hide.m_pos);
|
||||||
}
|
}
|
||||||
|
|
||||||
Timer slot_timer{};
|
Timer slot_timer{};
|
||||||
void UpdateSlot()
|
void UpdateSlot()
|
||||||
{
|
{
|
||||||
|
@ -345,7 +345,7 @@ void CreateMove()
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
ReadyForCommands = false;
|
ReadyForCommands = false;
|
||||||
if (g_pLocalPlayer->v_Origin.DistTo(crumbs.at(0)) < 30.0f)
|
if (g_pLocalPlayer->v_Origin.DistTo(Vector{crumbs.at(0).x, crumbs.at(0).y, g_pLocalPlayer->v_Origin.z}) < 30.0f)
|
||||||
{
|
{
|
||||||
lastArea = crumbs.at(0);
|
lastArea = crumbs.at(0);
|
||||||
crumbs.erase(crumbs.begin());
|
crumbs.erase(crumbs.begin());
|
||||||
|
Reference in New Issue
Block a user