mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-01-25 22:24:16 +00:00
Fix build.
This commit is contained in:
parent
c6916f1ec2
commit
6787c287be
@ -2474,7 +2474,7 @@ void CDeadHGrunt::Spawn( void )
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Set new model.
|
// Set new model.
|
||||||
SET_MODEL( ENT( pev ), (char*)STRING( pev->model ) )
|
SET_MODEL( ENT( pev ), (char*)STRING( pev->model ) );
|
||||||
|
|
||||||
pev->effects = 0;
|
pev->effects = 0;
|
||||||
pev->yaw_speed = 8;
|
pev->yaw_speed = 8;
|
||||||
|
@ -1422,7 +1422,7 @@ void CBasePlayer::PlayerUse( void )
|
|||||||
|
|
||||||
CFuncTrackTrain* pTrackTrain = (CFuncTrackTrain*)pTrain;
|
CFuncTrackTrain* pTrackTrain = (CFuncTrackTrain*)pTrain;
|
||||||
|
|
||||||
if pTrackTrain && pTrackTrain->UseCustomSounds() )
|
if( pTrackTrain && pTrackTrain->UseCustomSounds() )
|
||||||
{
|
{
|
||||||
if( pTrackTrain->IsCar() )
|
if( pTrackTrain->IsCar() )
|
||||||
usesound = "plats/train_use2.wav";
|
usesound = "plats/train_use2.wav";
|
||||||
|
@ -1170,7 +1170,7 @@ void CBasePlayerWeapon::RetireWeapon( void )
|
|||||||
g_pGameRules->GetNextBestWeapon( m_pPlayer, this );
|
g_pGameRules->GetNextBestWeapon( m_pPlayer, this );
|
||||||
}
|
}
|
||||||
|
|
||||||
/=========================================================================
|
//=========================================================================
|
||||||
// GetNextAttackDelay - An accurate way of calcualting the next attack time.
|
// GetNextAttackDelay - An accurate way of calcualting the next attack time.
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
float CBasePlayerWeapon::GetNextAttackDelay( float delay )
|
float CBasePlayerWeapon::GetNextAttackDelay( float delay )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user