mirror of
https://github.com/nzp-team/dquakeplus.git
synced 2024-11-25 21:31:49 +00:00
Make ADS values a vec3
This commit is contained in:
parent
cd3b08018e
commit
0f6f274e29
1 changed files with 2 additions and 2 deletions
|
@ -690,7 +690,7 @@ static float OldYawTheta;
|
|||
static float OldPitchTheta;
|
||||
|
||||
|
||||
static vec2_t cADSOfs;
|
||||
static vec3_t cADSOfs;
|
||||
|
||||
void CalcGunAngle (void)
|
||||
{
|
||||
|
@ -1121,7 +1121,7 @@ void V_CalcRefdef (void)
|
|||
//============================================================ Engine-Side Iron Sights ============================================================
|
||||
AngleVectors (r_refdef.viewangles, temp_forward, temp_right, temp_up);
|
||||
|
||||
vec2_t ADSOffset;
|
||||
vec3_t ADSOffset;
|
||||
if(cl.stats[STAT_ZOOM] == 1 || cl.stats[STAT_ZOOM] == 2)
|
||||
{
|
||||
ADSOffset[0] = sv_player->v.ADS_Offset[0];
|
||||
|
|
Loading…
Reference in a new issue