Client: Use view_angles instead of input_angles to orient the radar.
This commit is contained in:
parent
bb7ac9ebee
commit
41e1ae463b
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ Radar_Draw(void)
|
|||
|
||||
vector matrix;
|
||||
float ht;
|
||||
makevectors([0,input_angles[1] - 90, 0]);
|
||||
makevectors([0,view_angles[1] - 90, 0]);
|
||||
matrix[0] = dotproduct(difference, v_forward);
|
||||
matrix[1] = dotproduct(difference, v_right);
|
||||
matrix[2] = 0;
|
||||
|
|
Loading…
Reference in a new issue