Browse Source

Fix build.

halloween
Night Owl 8 years ago
parent
commit
c6b353e092
  1. 2
      dlls/gauss.cpp
  2. 2
      dlls/nihilanth.cpp
  3. 2
      dlls/subs.cpp

2
dlls/gauss.cpp

@ -126,7 +126,7 @@ int CGauss::GetItemInfo( ItemInfo *p ) @@ -126,7 +126,7 @@ int CGauss::GetItemInfo( ItemInfo *p )
BOOL CGauss::IsUseable()
{
// Currently charging, allow the player to fire it first. - Solokiller
return CBasePlayerWeapon::IsUseable() || m_InAttack != 0;
return CBasePlayerWeapon::IsUseable() || m_fInAttack != 0;
}
BOOL CGauss::Deploy()

2
dlls/nihilanth.cpp

@ -356,7 +356,7 @@ void CNihilanth::UpdateOnRemove() @@ -356,7 +356,7 @@ void CNihilanth::UpdateOnRemove()
m_pBall = 0;
}
for( int i = 0; i < N_SPHERES, i++ )
for( int i = 0; i < N_SPHERES; i++ )
{
if( CBaseEntity* pSphere = (CBaseEntity *)m_hSphere[i] )
{

2
dlls/subs.cpp

@ -112,7 +112,7 @@ void CBaseEntity::UpdateOnRemove( void ) @@ -112,7 +112,7 @@ void CBaseEntity::UpdateOnRemove( void )
//Killtarget didn't do this before, so the counter broke. - Solokiller
if( CBaseEntity* pOwner = pev->owner ? Instance( pev->owner ) : 0 )
{
pOwner->DeathNotice( this );
pOwner->DeathNotice( pev );
}
}

Loading…
Cancel
Save