playing with aim code

temporary disabled think frame skipping
This commit is contained in:
jeefo 2015-07-20 00:42:21 +03:00
commit 62a3fa8b80
4 changed files with 65 additions and 203 deletions

View file

@ -5292,9 +5292,8 @@ void Bot::TakeBlinded (const Vector &fade, int alpha)
// this function gets called by network message handler, when screenfade message get's send
// it's used to make bot blind froumd the grenade.
extern ConVar yb_aim_method;
if (fade.x != 255 || fade.y != 255 || fade.z != 255 || alpha <= 200 || yb_aim_method.GetInt () == 1)
if (fade.x != 255 || fade.y != 255 || fade.z != 255 || alpha <= 200)
return;
m_enemy = NULL;