Cache player IClient pointer on connect.

This commit is contained in:
Nicholas Hastings
2017-06-23 14:43:39 -04:00
parent 338fdb37f6
commit c31eaa01a3
2 changed files with 17 additions and 16 deletions
+1
View File
@@ -138,6 +138,7 @@ private:
bool m_TempAdmin = false;
edict_t *m_pEdict = nullptr;
IPlayerInfo *m_Info = nullptr;
IClient *m_pIClient = nullptr;
String m_LastPassword;
bool m_bAdminCheckSignalled = false;
int m_iIndex;