From a5e14425aa667bf560fbc6eb5dc03099697085cc Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Fri, 1 Apr 2016 11:55:37 +0200 Subject: [PATCH] - fixed angular interpolation of skybox viewpoints. --- src/r_plane.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/r_plane.cpp b/src/r_plane.cpp index 2bf47154a7..fe387509f8 100644 --- a/src/r_plane.cpp +++ b/src/r_plane.cpp @@ -1240,7 +1240,7 @@ void R_DrawSkyBoxes () viewx = FLOAT2FIXED(viewpos.X); viewy = FLOAT2FIXED(viewpos.Y); viewz = FLOAT2FIXED(viewpos.Z); - viewangle = savedangle + (sky->PrevAngles.Yaw + (sky->Angles.Yaw * r_TicFracF) - sky->PrevAngles.Yaw).BAMs(); + viewangle = savedangle + (sky->PrevAngles.Yaw + deltaangle(sky->PrevAngles.Yaw, sky->Angles.Yaw) * r_TicFracF).BAMs(); R_CopyStackedViewParameters(); }