mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-25 05:21:03 +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
|
angles[ROLL] = 0; // suppress roll
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
angles[ROLL] = vr.hmdorientation[ROLL];
|
||||||
|
}
|
||||||
|
|
||||||
for (i = 0; i < 3; i++) {
|
for (i = 0; i < 3; i++) {
|
||||||
cmd->angles[i] = ANGLE2SHORT(angles[i]);
|
cmd->angles[i] = ANGLE2SHORT(angles[i]);
|
||||||
|
|
Loading…
Reference in a new issue