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
|
@ -835,14 +835,17 @@ void viewDrawScreen(bool sceneonly)
|
||||||
q16horiz += fix16_from_int(mulscale30(0x40000000 - Cos(gView->tiltEffect << 2), 30));
|
q16horiz += fix16_from_int(mulscale30(0x40000000 - Cos(gView->tiltEffect << 2), 30));
|
||||||
if (gViewPos == 0)
|
if (gViewPos == 0)
|
||||||
{
|
{
|
||||||
if (cl_viewhbob)
|
if (cl_viewbob)
|
||||||
{
|
{
|
||||||
cX -= mulscale30(v74, Sin(fix16_to_int(cA))) >> 4;
|
if (cl_viewhbob)
|
||||||
cY += mulscale30(v74, Cos(fix16_to_int(cA))) >> 4;
|
{
|
||||||
}
|
cX -= mulscale30(v74, Sin(fix16_to_int(cA))) >> 4;
|
||||||
if (cl_viewvbob)
|
cY += mulscale30(v74, Cos(fix16_to_int(cA))) >> 4;
|
||||||
{
|
}
|
||||||
cZ += v8c;
|
if (cl_viewvbob)
|
||||||
|
{
|
||||||
|
cZ += v8c;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (cl_slopetilting)
|
if (cl_slopetilting)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue