Browse Source

Fix build.

poke646
Andrey Akhmichin 2 years ago
parent
commit
4b288b889c
No known key found for this signature in database
GPG Key ID: 1F180D249B0643C0
  1. 8
      cl_dll/hl/hl_weapons.cpp

8
cl_dll/hl/hl_weapons.cpp

@ -796,16 +796,8 @@ void HUD_WeaponsPostThink( local_state_s *from, local_state_s *to, usercmd_t *cm
// over the wire ( fixes some animation glitches ) // over the wire ( fixes some animation glitches )
if( g_runfuncs && ( HUD_GetWeaponAnim() != to->client.weaponanim ) ) if( g_runfuncs && ( HUD_GetWeaponAnim() != to->client.weaponanim ) )
{ {
<<<<<<< HEAD
int body = 2;
=======
int body = 0; int body = 0;
//Show laser sight/scope combo
if( pWeapon == &g_Python && bIsMultiplayer() )
body = 1;
>>>>>>> master
// Force a fixed anim down to viewmodel // Force a fixed anim down to viewmodel
HUD_SendWeaponAnim( to->client.weaponanim, body, 1 ); HUD_SendWeaponAnim( to->client.weaponanim, body, 1 );
} }

Loading…
Cancel
Save