Make linedef angles match SRB2 again
This commit is contained in:
parent
90b59fcebc
commit
448f85d7ad
|
@ -204,7 +204,7 @@ namespace CodeImp.DoomBuilder.Controls
|
|||
#endif
|
||||
action.Text = act.ToString();
|
||||
length.Text = l.Length.ToString("0.##");
|
||||
angle.Text = l.AngleDeg - 90 + "\u00B0";
|
||||
angle.Text = General.ClampAngle(l.AngleDeg - 90) + "\u00B0";
|
||||
unpegged.Text = peggedness;
|
||||
unpegged.Enabled = (peggedness != "None"); //mxd
|
||||
peglabel.Enabled = (peggedness != "None"); //mxd
|
||||
|
|
|
@ -129,6 +129,7 @@ namespace CodeImp.DoomBuilder.BuilderModes
|
|||
if(showangle)
|
||||
{
|
||||
int displayangle = (int)Math.Round(Angle2D.RadToDeg(delta.GetAngle()));
|
||||
displayangle = General.ClampAngle(displayangle - 90);
|
||||
label.Text = "L:" + length.ToString(VALUE_FORMAT) + "; A:" + displayangle;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue