Don't allow negative Thing heights for SRB2 maps

This commit is contained in:
MascaraSnake 2016-01-10 22:54:39 +01:00
parent 6388c93034
commit b5d255d91d

View file

@ -202,6 +202,7 @@ namespace CodeImp.DoomBuilder.Windows
posX.Text = ((int)ft.Position.x).ToString();
posY.Text = ((int)ft.Position.y).ToString();
posZ.Text = (useabsoluteheight ? ((int)Math.Round(ft.Position.z + floorheight)).ToString() : ((int)ft.Position.z).ToString());
posZ.AllowNegative = General.Map.FormatInterface.MinThingHeight < 0;
/*posX.ButtonStep = General.Map.Grid.GridSize;
posY.ButtonStep = General.Map.Grid.GridSize;
posZ.ButtonStep = General.Map.Grid.GridSize;*/