From 3ba6dc27477ac5592022763d03528c113ebf0881 Mon Sep 17 00:00:00 2001 From: mittorn Date: Mon, 9 Jan 2017 18:15:14 +0000 Subject: [PATCH] Fix IsBot() --- dlls/player.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/player.h b/dlls/player.h index c1b609fe..c9f9ce19 100644 --- a/dlls/player.h +++ b/dlls/player.h @@ -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); };