mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-22 03:51:40 +00:00
Ensure roll angles are passed to the server if enabled
This commit is contained in:
parent
f5c507fe8a
commit
096daff966
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