mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-15 20:20:54 +00:00
parent
4c74c172e3
commit
db6d2e4d89
1 changed files with 10 additions and 7 deletions
|
@ -834,6 +834,8 @@ void viewDrawScreen(bool sceneonly)
|
|||
v48 += shakeBobY;
|
||||
q16horiz += fix16_from_int(mulscale30(0x40000000 - Cos(gView->tiltEffect << 2), 30));
|
||||
if (gViewPos == 0)
|
||||
{
|
||||
if (cl_viewbob)
|
||||
{
|
||||
if (cl_viewhbob)
|
||||
{
|
||||
|
@ -844,6 +846,7 @@ void viewDrawScreen(bool sceneonly)
|
|||
{
|
||||
cZ += v8c;
|
||||
}
|
||||
}
|
||||
if (cl_slopetilting)
|
||||
{
|
||||
q16horiz += q16slopehoriz;
|
||||
|
|
Loading…
Reference in a new issue