diff --git a/dlls/weapons.cpp b/dlls/weapons.cpp index cdee5d7..f136374 100644 --- a/dlls/weapons.cpp +++ b/dlls/weapons.cpp @@ -1139,7 +1139,7 @@ void CBasePlayerAmmo :: DefaultTouch( CBaseEntity *pOther ) //========================================================= int CBasePlayerWeapon::ExtractAmmo( CBasePlayerWeapon *pWeapon ) { - int iReturn; + int iReturn = 0; if ( pszAmmo1() != NULL ) { diff --git a/dmc/dlls/weapons.cpp b/dmc/dlls/weapons.cpp index 413dfb8..13ff03f 100644 --- a/dmc/dlls/weapons.cpp +++ b/dmc/dlls/weapons.cpp @@ -1036,7 +1036,7 @@ void CBasePlayerAmmo :: DefaultTouch( CBaseEntity *pOther ) //========================================================= int CBasePlayerWeapon::ExtractAmmo( CBasePlayerWeapon *pWeapon ) { - int iReturn; + int iReturn = 0; if ( pszAmmo1() != NULL ) { diff --git a/ricochet/dlls/weapons.cpp b/ricochet/dlls/weapons.cpp index 2805abc..1987137 100644 --- a/ricochet/dlls/weapons.cpp +++ b/ricochet/dlls/weapons.cpp @@ -1003,7 +1003,7 @@ void CBasePlayerAmmo :: DefaultTouch( CBaseEntity *pOther ) //========================================================= int CBasePlayerWeapon::ExtractAmmo( CBasePlayerWeapon *pWeapon ) { - int iReturn; + int iReturn = 0; if ( pszAmmo1() != NULL ) {