mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-28 14:52:14 +00:00
Ensure roll angles are passed to the server if enabled
This commit is contained in:
parent
4eca4349d3
commit
4b46ae002f
1 changed files with 4 additions and 0 deletions
|
@ -620,6 +620,10 @@ void CL_FinishMove( usercmd_t *cmd ) {
|
|||
{
|
||||
angles[ROLL] = 0; // suppress roll
|
||||
}
|
||||
else
|
||||
{
|
||||
angles[ROLL] = vr.hmdorientation[ROLL];
|
||||
}
|
||||
|
||||
for (i = 0; i < 3; i++) {
|
||||
cmd->angles[i] = ANGLE2SHORT(angles[i]);
|
||||
|
|
Loading…
Reference in a new issue