mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-20 04:26:03 +08:00
Modified SDK for GCC 4.2
This commit is contained in:
@ -1526,8 +1526,8 @@ void CPropJeep::CreateDangerSounds( void )
|
||||
const float radius = speed * 0.4;
|
||||
// 0.3 seconds ahead of the jeep
|
||||
vecSpot = vecStart + vecDir * (speed * 1.1f);
|
||||
CSoundEnt::InsertSound( SOUND_DANGER | SOUND_CONTEXT_PLAYER_VEHICLE, vecSpot, radius, soundDuration, this, 0 );
|
||||
CSoundEnt::InsertSound( SOUND_PHYSICS_DANGER | SOUND_CONTEXT_PLAYER_VEHICLE, vecSpot, radius, soundDuration, this, 1 );
|
||||
CSoundEnt::InsertSound( SOUND_DANGER | SOUND_CONTEXT_PLAYER_VEHICLE, vecSpot, (int)radius, soundDuration, this, 0 );
|
||||
CSoundEnt::InsertSound( SOUND_PHYSICS_DANGER | SOUND_CONTEXT_PLAYER_VEHICLE, vecSpot, (int)radius, soundDuration, this, 1 );
|
||||
//NDebugOverlay::Box(vecSpot, Vector(-radius,-radius,-radius),Vector(radius,radius,radius), 255, 0, 255, 0, soundDuration);
|
||||
|
||||
#if 0
|
||||
|
Reference in New Issue
Block a user