Fix an issue with interp not fully seamlessly moving the camera

This commit is contained in:
hayayayay committed 2023-05-12 11:23:48 +08:00
1 parent f4f0c23d38
commit 9c9bb028fd
1 file changed
+2
+2
View File
@@ -2394,8 +2394,10 @@ static void P_ProcessLineSpecial(line_t *line, mobj_t *mo, sector_t *callsec)
camera[i].x += x;
camera[i].y += y;
camera[i].z += z;
camera[i].reset = true;
camera[i].subsector = R_PointInSubsector(camera[i].x, camera[i].y);
R_RelativeTeleportViewInterpolation(i, x, y, z, 0);
R_ResetViewInterpolation(i + 1); // reset view interp as well
break;
}
}