mirror of
https://git.do.srb2.org/STJr/ZoneBuilder.git
synced 2025-04-22 17:44:06 +00:00
Render slope vertices so that their center intersects with the slope, rather than the bottom
This commit is contained in:
parent
6c739c1a07
commit
645ff67d8d
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue