mirror of
https://github.com/nzp-team/dquakeplus.git
synced 2025-01-31 11:40:36 +00:00
Fix order for ADS offsets
This commit is contained in:
parent
50ef590d86
commit
82f798f2c5
1 changed files with 3 additions and 3 deletions
|
@ -1154,9 +1154,9 @@ void V_CalcRefdef (void)
|
|||
temp_forward[1] *= cADSOfs[2];
|
||||
temp_forward[2] *= cADSOfs[2];
|
||||
|
||||
view->origin[0] +=(temp_right[0] + temp_up[0] + temp_forward[0]);
|
||||
view->origin[1] +=(temp_right[1] + temp_up[1] + temp_forward[1]);
|
||||
view->origin[2] +=(temp_right[2] + temp_up[2] + temp_forward[2]);
|
||||
view->origin[0] +=(temp_forward[0] + temp_right[0] + temp_up[0]);
|
||||
view->origin[1] +=(temp_forward[1] + temp_right[1] + temp_up[1]);
|
||||
view->origin[2] +=(temp_forward[2] + temp_right[2] + temp_up[2]);
|
||||
|
||||
float speed = (0.2 + sqrt((cl.velocity[0] * cl.velocity[0]) + (cl.velocity[1] * cl.velocity[1])));
|
||||
speed = speed/190;
|
||||
|
|
Loading…
Reference in a new issue