game/server/server_weapon.c
/*	Kicks the view a little.
*/
Kicks the view a little.
Kicks the view a little .
void Weapon_ViewPunch(ServerEntity_t *eEntity, float fIntensity, bool bAddition)
{
	if(bAddition)
		eEntity->v.punchangle[PITCH] -= 5.0f + (float)(rand() % 2);
	else
		eEntity->v.punchangle[PITCH] = -4.0f + (float)(rand() % 2);
}
void Weapon_ViewPunch ( ServerEntity_t * eEntity , float fIntensity , bool bAddition ) { if ( bAddition ) eEntity -> v . punchangle [ PITCH ] -= 5.0f + ( float ) ( rand ( ) % 2 ) ; else eEntity -> v . punchangle [ PITCH ] = -4.0f + ( float ) ( rand ( ) % 2 ) ; }
Kicks the view a little.
Kicks the view a little .