Improve autosticky

This commit is contained in:
BenCat07 2019-06-09 20:59:15 +02:00
parent e296e67d3e
commit 7f80acb363

View File

@ -151,7 +151,7 @@ void CreateMove()
if (bomb->m_vecOrigin().DistToSqr(position) < 16900)
{
// Vis check the target from the bomb
if (IsVectorVisible(bomb->m_vecOrigin(), target->m_vecDormantOrigin(), true))
if (IsVectorVisible(bomb->m_vecOrigin(), position, true))
{
// Check user settings if legit mode is off, if legit mode
// is off then detonate