mirror of
https://github.com/FWGS/hlsdk-xash3d
synced 2024-11-22 01:47:45 +01:00
Removed identical line in conditional statement. (#209)
This commit is contained in:
parent
ec2826a96a
commit
4e7111e434
@ -717,14 +717,7 @@ void EV_FireMP5( event_args_t *args )
|
|||||||
EV_GetGunPosition( args, vecSrc, origin );
|
EV_GetGunPosition( args, vecSrc, origin );
|
||||||
VectorCopy( forward, vecAiming );
|
VectorCopy( forward, vecAiming );
|
||||||
|
|
||||||
if( gEngfuncs.GetMaxClients() > 1 )
|
EV_HLDM_FireBullets( idx, forward, right, up, 1, vecSrc, vecAiming, 8192, BULLET_PLAYER_MP5, 2, &g_tracerCount[idx - 1], args->fparam1, args->fparam2 );
|
||||||
{
|
|
||||||
EV_HLDM_FireBullets( idx, forward, right, up, 1, vecSrc, vecAiming, 8192, BULLET_PLAYER_MP5, 2, &g_tracerCount[idx - 1], args->fparam1, args->fparam2 );
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
EV_HLDM_FireBullets( idx, forward, right, up, 1, vecSrc, vecAiming, 8192, BULLET_PLAYER_MP5, 2, &g_tracerCount[idx - 1], args->fparam1, args->fparam2 );
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// We only predict the animation and sound
|
// We only predict the animation and sound
|
||||||
|
Loading…
Reference in New Issue
Block a user