Browse Source

Removed identical line in conditional statement. (#209)

pull/213/head
Marc-Antoine Lortie 2 months ago
committed by GitHub
parent
commit
4e7111e434
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      cl_dll/ev_hldm.cpp

9
cl_dll/ev_hldm.cpp

@ -717,14 +717,7 @@ void EV_FireMP5( event_args_t *args )
EV_GetGunPosition( args, vecSrc, origin );
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 );
}
else
{
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 );
}
// We only predict the animation and sound

Loading…
Cancel
Save