mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-02-05 21:30:55 +00:00
- 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:
parent
ae731d1eaf
commit
3516e4c3b0
1 changed files with 7 additions and 10 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue