Client: Use view_angles instead of input_angles to orient the radar.

This commit is contained in:
Marco Cawthorne 2023-02-07 17:34:45 -08:00
parent bb7ac9ebee
commit 41e1ae463b
Signed by: eukara
GPG Key ID: CE2032F0A2882A22
1 changed files with 1 additions and 1 deletions

View File

@ -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;