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

Fix build.

This commit is contained in:
Night Owl 2016-10-09 17:40:41 +05:00
parent c6916f1ec2
commit 6787c287be
24 changed files with 3 additions and 3 deletions

View File

@ -2474,7 +2474,7 @@ void CDeadHGrunt::Spawn( void )
}
// Set new model.
SET_MODEL( ENT( pev ), (char*)STRING( pev->model ) )
SET_MODEL( ENT( pev ), (char*)STRING( pev->model ) );
pev->effects = 0;
pev->yaw_speed = 8;

View File

@ -1422,7 +1422,7 @@ void CBasePlayer::PlayerUse( void )
CFuncTrackTrain* pTrackTrain = (CFuncTrackTrain*)pTrain;
if pTrackTrain && pTrackTrain->UseCustomSounds() )
if( pTrackTrain && pTrackTrain->UseCustomSounds() )
{
if( pTrackTrain->IsCar() )
usesound = "plats/train_use2.wav";

View File

@ -1170,7 +1170,7 @@ void CBasePlayerWeapon::RetireWeapon( void )
g_pGameRules->GetNextBestWeapon( m_pPlayer, this );
}
/=========================================================================
//=========================================================================
// GetNextAttackDelay - An accurate way of calcualting the next attack time.
//=========================================================================
float CBasePlayerWeapon::GetNextAttackDelay( float delay )