mirror of
https://git.do.srb2.org/STJr/ZoneBuilder.git
synced 2024-11-10 06:41:49 +00:00
Fix typo in vertex slope handling
This commit is contained in:
parent
6b21d45fac
commit
a772edc820
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue