mirror of
https://github.com/ZDoom/gzdoom-last-svn.git
synced 2025-06-03 18:51:22 +00:00
Update to ZDoom r2059:
- fixed: Movement performed by actor movers was not interpolated because it happened outside the moved actor's Tick function. This got particularly obvious with moving skybox viewpoints (See Daedalus's MAP21 intro for a good example.) git-svn-id: http://mancubus.net/svn/hosted/gzdoom/trunk@689 b0f79afe-0144-0410-b225-9a4edf0717df
This commit is contained in:
parent
facb76de0e
commit
7c30ee567f
11 changed files with 77 additions and 33 deletions
|
@ -1105,10 +1105,12 @@ void R_DrawSkyBoxes ()
|
|||
// Don't let gun flashes brighten the sky box
|
||||
extralight = 0;
|
||||
R_SetVisibility (sky->args[0] * 0.25f);
|
||||
viewx = sky->x;
|
||||
viewy = sky->y;
|
||||
viewz = sky->z;
|
||||
viewangle = savedangle + sky->angle;
|
||||
|
||||
viewx = sky->PrevX + FixedMul(r_TicFrac, sky->x - sky->PrevX);
|
||||
viewy = sky->PrevY + FixedMul(r_TicFrac, sky->y - sky->PrevY);
|
||||
viewz = sky->PrevZ + FixedMul(r_TicFrac, sky->z - sky->PrevZ);
|
||||
viewangle = savedangle + sky->PrevAngle + FixedMul(r_TicFrac, sky->angle - sky->PrevAngle);
|
||||
|
||||
R_CopyStackedViewParameters();
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue