Fix IsBot()

This commit is contained in:
mittorn 2017-01-09 18:15:14 +00:00
parent 1c85b18464
commit 3ba6dc2747

View File

@ -324,7 +324,7 @@ public:
PlayerState m_state;
bool m_fTouchMenu;
virtual void Touch( CBaseEntity *pOther );
bool IsBot(){ return pev->flags & FL_FAKECLIENT; }
virtual BOOL IsBot(){ return false; }
bool IsLookingAtPosition(Vector *pos, float angleTolerance = 20.0f);
};