- sethorizon(): Ensure SB_CENTERVIEW bit is always cleared if horizon target is set.

This commit is contained in:
Mitchell Richters 2021-04-02 23:23:24 +11:00
parent 9c01bde44e
commit e3c2757f1c

View file

@ -330,6 +330,10 @@ void sethorizon(PlayerHorizon* horizon, float const horz, ESyncBits* actions, do
}
}
}
else
{
*actions &= ~SB_CENTERVIEW;
}
}
//---------------------------------------------------------------------------