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 f5c507fe8a
commit 096daff966

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