mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-01-14 08:57:52 +00:00
Fix build.
This commit is contained in:
parent
bdd3e74ebd
commit
c6b353e092
@ -126,7 +126,7 @@ int CGauss::GetItemInfo( ItemInfo *p )
|
|||||||
BOOL CGauss::IsUseable()
|
BOOL CGauss::IsUseable()
|
||||||
{
|
{
|
||||||
// Currently charging, allow the player to fire it first. - Solokiller
|
// 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()
|
BOOL CGauss::Deploy()
|
||||||
|
@ -356,7 +356,7 @@ void CNihilanth::UpdateOnRemove()
|
|||||||
m_pBall = 0;
|
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] )
|
if( CBaseEntity* pSphere = (CBaseEntity *)m_hSphere[i] )
|
||||||
{
|
{
|
||||||
|
@ -112,7 +112,7 @@ void CBaseEntity::UpdateOnRemove( void )
|
|||||||
//Killtarget didn't do this before, so the counter broke. - Solokiller
|
//Killtarget didn't do this before, so the counter broke. - Solokiller
|
||||||
if( CBaseEntity* pOwner = pev->owner ? Instance( pev->owner ) : 0 )
|
if( CBaseEntity* pOwner = pev->owner ? Instance( pev->owner ) : 0 )
|
||||||
{
|
{
|
||||||
pOwner->DeathNotice( this );
|
pOwner->DeathNotice( pev );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user