Fix the very last zoom tube waypoint line not being drawn.

This commit is contained in:
sphere 2021-03-01 16:20:33 +01:00
parent 16299772b7
commit 607b09d076

View file

@ -1461,7 +1461,7 @@ namespace CodeImp.DoomBuilder.Rendering
int size = waypoints.Count;
int seqStart = 0;
TextLabel[] sequencelabels = new TextLabel[256];
while (i < size - 1)
while (i < size)
{
int iNext = i + 1;
if (waypoints[i].AngleDoom % 256 == 0) // start of a new sequence?