mirror of
https://github.com/shawns-valve/halflife.git
synced 2024-11-21 12:01:07 +00:00
Merge pull request #1582 from JoelTroch/master
Minor fix for CBasePlayerWeapon::ExtractAmmo
This commit is contained in:
commit
9fd5815181
3 changed files with 3 additions and 3 deletions
|
@ -1139,7 +1139,7 @@ void CBasePlayerAmmo :: DefaultTouch( CBaseEntity *pOther )
|
|||
//=========================================================
|
||||
int CBasePlayerWeapon::ExtractAmmo( CBasePlayerWeapon *pWeapon )
|
||||
{
|
||||
int iReturn;
|
||||
int iReturn = 0;
|
||||
|
||||
if ( pszAmmo1() != NULL )
|
||||
{
|
||||
|
|
|
@ -1036,7 +1036,7 @@ void CBasePlayerAmmo :: DefaultTouch( CBaseEntity *pOther )
|
|||
//=========================================================
|
||||
int CBasePlayerWeapon::ExtractAmmo( CBasePlayerWeapon *pWeapon )
|
||||
{
|
||||
int iReturn;
|
||||
int iReturn = 0;
|
||||
|
||||
if ( pszAmmo1() != NULL )
|
||||
{
|
||||
|
|
|
@ -1003,7 +1003,7 @@ void CBasePlayerAmmo :: DefaultTouch( CBaseEntity *pOther )
|
|||
//=========================================================
|
||||
int CBasePlayerWeapon::ExtractAmmo( CBasePlayerWeapon *pWeapon )
|
||||
{
|
||||
int iReturn;
|
||||
int iReturn = 0;
|
||||
|
||||
if ( pszAmmo1() != NULL )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue