Render slope vertices so that their center intersects with the slope, rather than the bottom

This commit is contained in:
MascaraSnake 2016-01-10 17:37:08 +01:00
parent 6c739c1a07
commit 645ff67d8d

View file

@ -415,7 +415,7 @@ namespace CodeImp.DoomBuilder.BuilderModes
{
// This is a special thing that needs special positioning
SectorData sd = mode.GetSectorData(Thing.Sector);
pos.z = sd.Floor.sector.FloorHeight + Thing.Position.z;
pos.z = sd.Floor.sector.FloorHeight + Thing.Position.z - Thing.Height/2;
}
}