2
0
mirror of https://github.com/FWGS/hlsdk-xash3d synced 2024-11-25 11:19:39 +01:00

Fix build.

This commit is contained in:
Night Owl 2017-07-06 02:35:32 +05:00
parent bdd3e74ebd
commit c6b353e092
3 changed files with 3 additions and 3 deletions

View File

@ -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()

View File

@ -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] )
{

View File

@ -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 );
}
}