mirror of
https://github.com/FWGS/hlsdk-xash3d
synced 2024-11-25 11:19:39 +01:00
Fix build.
This commit is contained in:
parent
bdd3e74ebd
commit
c6b353e092
@ -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()
|
||||
|
@ -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] )
|
||||
{
|
||||
|
@ -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…
Reference in New Issue
Block a user