Disable camera shake when charging a weapon's alt fire

This commit is contained in:
Simon 2023-03-30 22:06:18 +01:00
parent 67cfd89d9a
commit cab34db234
2 changed files with 4 additions and 0 deletions

View file

@ -6156,6 +6156,7 @@ Ghoul2 Insert End
scale = 1.75f;
}
/*
if ( val < 0.0f )
{
val = 0.0f;
@ -6169,6 +6170,7 @@ Ghoul2 Insert End
{
CGCam_Shake( val * val * 0.3f, 100 );
}
*/
val += Q_flrand(0.0f, 1.0f) * 0.5f;

View file

@ -1343,6 +1343,7 @@ void CG_AddViewWeapon( playerState_t *ps )
scale = 1.75f;
}
/*
if ( val < 0.0f )
{
val = 0.0f;
@ -1356,6 +1357,7 @@ void CG_AddViewWeapon( playerState_t *ps )
{
CGCam_Shake( val * val * 0.3f, 100 );
}
*/
val += Q_flrand(0.0f, 1.0f) * 0.5f;