mirror of
https://github.com/DrBeef/JKXR.git
synced 2025-02-17 01:11:56 +00:00
Disable camera shake when charging a weapon's alt fire
This commit is contained in:
parent
67cfd89d9a
commit
cab34db234
2 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue