Aimbot shoots burning and cloak flicker spies. (#1454)
Solves #1446 and #1448 Signed-off-by: Ashley <zanthed@riseup.net>
This commit is contained in:
parent
5a7117624e
commit
6b370b8daa
@ -702,7 +702,7 @@ bool IsTargetStateGood(CachedEntity *entity)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (ignore_cloak)
|
if (ignore_cloak && !(HasCondition<TFCond_OnFire>(entity)) && !(HasCondition<TFCond_CloakFlicker>(entity)))
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user