Ensure roll angles are passed to the server if enabled

This commit is contained in:
Simon 2022-05-19 22:34:13 +01:00
parent 4eca4349d3
commit 4b46ae002f

View file

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