mirror of
https://github.com/rehlds/reunion.git
synced 2025-01-28 21:07:55 +03:00
Fixed uninitialized members
This commit is contained in:
parent
621d775fe0
commit
feacae5c3d
@ -8,6 +8,7 @@ CQueryLimiter::CQueryLimiter()
|
||||
m_uniqueQueries = 0;
|
||||
m_useGlobalRateLimit = false;
|
||||
m_lastAdded = -1;
|
||||
m_lastFloodLog = 0;
|
||||
memset(m_lastQueries, 0, sizeof m_lastQueries);
|
||||
|
||||
if ((MAX_STORED_QUERIES & (MAX_STORED_QUERIES - 1)) != 0)
|
||||
|
@ -11,6 +11,8 @@ CReunionPlayer::CReunionPlayer(IGameClient* cl) {
|
||||
void CReunionPlayer::clear() {
|
||||
m_IdKind = CI_UNKNOWN;
|
||||
m_AuthKind = CA_UNKNOWN;
|
||||
m_authKeyKind = AK_OTHER;
|
||||
m_idString[0] = 0;
|
||||
m_Protocol = 0;
|
||||
m_ConnectionTime = 0.0;
|
||||
m_UnauthenticatedSteamId = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user