mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-23 04:12:12 +00:00
"Look Through Selection" action: InterpolationPoint can be handled the same way as SecurityCamera or AimingCamera.
This commit is contained in:
parent
724709e435
commit
457cfc8221
1 changed files with 1 additions and 1 deletions
|
@ -2732,7 +2732,7 @@ namespace CodeImp.DoomBuilder.BuilderModes
|
|||
General.Map.VisualCamera.AngleXY = delta.GetAngleXY();
|
||||
General.Map.VisualCamera.AngleZ = pitch ? -delta.GetAngleZ() : Angle2D.PI;
|
||||
}
|
||||
} else if((t.Type == 9025 || t.Type == 9073) && t.Args[0] != 0) { //SecurityCamera or AimingCamera with pitch?
|
||||
} else if((t.Type == 9025 || t.Type == 9073 || t.Type == 9070) && t.Args[0] != 0) { //InterpolationPoint, SecurityCamera or AimingCamera with pitch?
|
||||
General.Map.VisualCamera.Position = visualThings[0].CenterV3D; //position at camera
|
||||
General.Map.VisualCamera.AngleXY = t.Angle - Angle2D.PI;
|
||||
General.Map.VisualCamera.AngleZ = Angle2D.PI + Angle2D.DegToRad(t.Args[0]);
|
||||
|
|
Loading…
Reference in a new issue