mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-02-02 18:14:26 +00:00
Remove usage of redundant m249 fire sounds (they are all the same and only one is used in opfor)
This commit is contained in:
parent
5e722bfaba
commit
6259156cb1
@ -2000,18 +2000,7 @@ void EV_FireM249( event_args_t *args )
|
||||
|
||||
EV_EjectBrass( ShellOrigin, ShellVelocity, angles[YAW], shell, TE_BOUNCE_SHELL );
|
||||
|
||||
switch( gEngfuncs.pfnRandomLong( 0, 2 ) )
|
||||
{
|
||||
case 0:
|
||||
gEngfuncs.pEventAPI->EV_PlaySound( idx, origin, CHAN_WEAPON, "weapons/saw_fire1.wav", 1, ATTN_NORM, 0, PITCH_NORM);
|
||||
break;
|
||||
case 1:
|
||||
gEngfuncs.pEventAPI->EV_PlaySound( idx, origin, CHAN_WEAPON, "weapons/saw_fire2.wav", 1, ATTN_NORM, 0, PITCH_NORM);
|
||||
break;
|
||||
case 2:
|
||||
gEngfuncs.pEventAPI->EV_PlaySound( idx, origin, CHAN_WEAPON, "weapons/saw_fire3.wav", 1, ATTN_NORM, 0, PITCH_NORM);
|
||||
break;
|
||||
}
|
||||
gEngfuncs.pEventAPI->EV_PlaySound( idx, origin, CHAN_WEAPON, "weapons/saw_fire1.wav", 1, ATTN_NORM, 0, PITCH_NORM);
|
||||
|
||||
EV_GetGunPosition( args, vecSrc, origin );
|
||||
VectorCopy( forward, vecAiming );
|
||||
|
@ -70,8 +70,6 @@ void CM249::Precache(void)
|
||||
PRECACHE_SOUND("items/9mmclip1.wav");
|
||||
|
||||
PRECACHE_SOUND("weapons/saw_fire1.wav");
|
||||
PRECACHE_SOUND("weapons/saw_fire2.wav");
|
||||
PRECACHE_SOUND("weapons/saw_fire3.wav");
|
||||
|
||||
PRECACHE_SOUND("weapons/saw_reload.wav");
|
||||
PRECACHE_SOUND("weapons/saw_reload2.wav");
|
||||
|
Loading…
x
Reference in New Issue
Block a user