mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-07 17:29:36 +00:00
game: init uninitialized variables
This commit is contained in:
@@ -174,7 +174,7 @@ BEGIN_NETWORK_TABLE( CSprite, DT_Sprite )
|
||||
END_NETWORK_TABLE()
|
||||
|
||||
|
||||
CSprite::CSprite()
|
||||
CSprite::CSprite() : BaseClass()
|
||||
{
|
||||
m_flGlowProxySize = 2.0f;
|
||||
m_flHDRColorScale = 1.0f;
|
||||
|
||||
@@ -60,7 +60,7 @@ ConVar tf_weapon_criticals_bucket_bottom( "tf_weapon_criticals_bucket_bottom", "
|
||||
ConVar tf_weapon_criticals_bucket_default( "tf_weapon_criticals_bucket_default", "300.0", FCVAR_REPLICATED | FCVAR_CHEAT );
|
||||
#endif // TF
|
||||
|
||||
CBaseCombatWeapon::CBaseCombatWeapon()
|
||||
CBaseCombatWeapon::CBaseCombatWeapon() : BASECOMBATWEAPON_DERIVED_FROM()
|
||||
{
|
||||
// Constructor must call this
|
||||
// CONSTRUCT_PREDICTABLE( CBaseCombatWeapon );
|
||||
@@ -77,6 +77,7 @@ CBaseCombatWeapon::CBaseCombatWeapon()
|
||||
m_nViewModelIndex = 0;
|
||||
|
||||
m_bFlipViewModel = false;
|
||||
m_iSubType = 0;
|
||||
|
||||
#if defined( CLIENT_DLL )
|
||||
m_iState = m_iOldState = WEAPON_NOT_CARRIED;
|
||||
|
||||
Reference in New Issue
Block a user