Apparently VertexDecimals affects every single numeric field, so revert its change

This commit is contained in:
spherallic 2023-12-09 14:23:09 +01:00
parent 0f874f4da7
commit 63bb82a1d7
2 changed files with 4 additions and 4 deletions

View file

@ -67,8 +67,8 @@ namespace CodeImp.DoomBuilder.IO
public override int MaxThings { get { return int.MaxValue; } }
public override int MinTextureOffset { get { return int.MinValue; } }
public override int MaxTextureOffset { get { return int.MaxValue; } }
public override int VertexDecimals { get { return 0; } } // SRB2 only has integer coordinates for the time being
public override string DecimalsFormat { get { return "0"; } } // SRB2 only has integer coordinates for the time being
public override int VertexDecimals { get { return 5; } } // SRB2 only has integer coordinates, but this setting affects every single numeric field
public override string DecimalsFormat { get { return "0.00000"; } } // SRB2 only has integer coordinates, but this setting affects every single numeric field
public override bool HasLinedefTag { get { return true; } }
public override bool HasThingTag { get { return true; } }
public override bool HasThingAction { get { return true; } }

View file

@ -441,7 +441,7 @@
//
// posX
//
this.posX.AllowDecimal = true;
this.posX.AllowDecimal = false; // SRB2 doesn't support decimal positions (yet?)
this.posX.AllowExpressions = true;
this.posX.AllowNegative = true;
this.posX.AllowRelative = true;
@ -460,7 +460,7 @@
//
// posY
//
this.posY.AllowDecimal = true;
this.posY.AllowDecimal = false; // SRB2 doesn't support decimal positions (yet?)
this.posY.AllowExpressions = true;
this.posY.AllowNegative = true;
this.posY.AllowRelative = true;