mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 22:31:05 +00:00
using R_FLOAT for setting individual fields of the return vector ain't so
good a thing to do.
This commit is contained in:
parent
587de27849
commit
587ac5670b
1 changed files with 3 additions and 3 deletions
|
@ -180,9 +180,9 @@ PF_vectoangles (progs_t *pr)
|
|||
pitch += 360;
|
||||
}
|
||||
|
||||
R_FLOAT (pr + 0) = pitch;
|
||||
R_FLOAT (pr + 1) = yaw;
|
||||
R_FLOAT (pr + 2) = 0;
|
||||
R_VECTOR (pr)[0] = pitch;
|
||||
R_VECTOR (pr)[1] = yaw;
|
||||
R_VECTOR (pr)[2] = 0;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue