Fixed client serials not getting cleared on disconnect (bug 5121, r=psychonic).

This commit is contained in:
Fyren 2011-10-12 00:51:58 -04:00
parent 776889cfbb
commit 92773c2e1b

View File

@ -1450,6 +1450,7 @@ CPlayer::CPlayer()
m_LastPassword.clear();
m_LangId = SOURCEMOD_LANGUAGE_ENGLISH;
m_bFakeClient = false;
m_Serial.value = -1;
}
void CPlayer::Initialize(const char *name, const char *ip, edict_t *pEntity)
@ -1521,6 +1522,7 @@ void CPlayer::Disconnect()
m_UserId = -1;
m_bIsInKickQueue = false;
m_bFakeClient = false;
m_Serial.value = -1;
}
void CPlayer::SetName(const char *name)