mirror of
https://git.do.srb2.org/STJr/ZoneBuilder.git
synced 2024-11-10 06:41:49 +00:00
Make linedef angles match SRB2 again
This commit is contained in:
parent
90b59fcebc
commit
448f85d7ad
2 changed files with 2 additions and 1 deletions
|
@ -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 a new issue