Missing initialize for member m_iWeaponInfiniteIds

This commit is contained in:
s1lent 2019-08-26 15:29:22 +07:00
parent 1f84ae5d7b
commit 371ac897bb
2 changed files with 3 additions and 1 deletions

View File

@ -527,4 +527,5 @@ void CCSPlayer::Reset()
m_vecOldvAngle = g_vecZero;
m_iWeaponInfiniteAmmo = 0;
m_iWeaponInfiniteIds = 0;
}

View File

@ -43,7 +43,8 @@ public:
m_bForceShowMenu(false),
m_flRespawnPending(0),
m_flSpawnProtectionEndTime(0),
m_iWeaponInfiniteAmmo(0)
m_iWeaponInfiniteAmmo(0),
m_iWeaponInfiniteIds(0)
{
m_szModel[0] = '\0';
}