Fix typo in vertex slope handling

This commit is contained in:
spherallic 2022-12-30 20:55:41 +01:00
parent 6b21d45fac
commit a772edc820
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ namespace CodeImp.DoomBuilder.BuilderModes
if (t.Parameter > 0)
position.z = t.GetFlagsValue();
else
position.z = (t.Sector != null) ? t.Sector.FloorHeight : 0;
position.z += (t.Sector != null) ? t.Sector.FloorHeight : 0;
verts[index] = position;
index++;
if (index > 2) break; //Only the first three vertices are used