- Blood: Don't use cl_viewbob to control bobbing overall, only cl_viewhbob and cl_viewvbob as exposed via the menus.

This commit is contained in:
Mitchell Richters 2021-01-02 13:16:07 +11:00
parent ae731d1eaf
commit 3516e4c3b0

View file

@ -616,8 +616,6 @@ void viewDrawScreen(bool sceneonly)
v48 += shakeBobY; v48 += shakeBobY;
cH += buildhoriz(mulscale30(0x40000000 - Cos(gView->tiltEffect << 2), 30)); cH += buildhoriz(mulscale30(0x40000000 - Cos(gView->tiltEffect << 2), 30));
if (gViewPos == 0) if (gViewPos == 0)
{
if (cl_viewbob)
{ {
if (cl_viewhbob) if (cl_viewhbob)
{ {
@ -628,7 +626,6 @@ void viewDrawScreen(bool sceneonly)
{ {
cZ += v8c; cZ += v8c;
} }
}
if (cl_slopetilting) if (cl_slopetilting)
{ {
cH += cOff; cH += cOff;