2
0
Fork 0
mirror of https://github.com/rehlds/ReGameDLL_CS.git synced 2025-08-24 15:39:35 +03:00

Missing initialize for member m_iWeaponInfiniteIds

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

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';
}