Skip to content
Snippets Groups Projects
Commit 607b09d0 authored by sphere's avatar sphere
Browse files

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

parent 16299772
No related branches found
No related tags found
No related merge requests found
...@@ -1461,7 +1461,7 @@ namespace CodeImp.DoomBuilder.Rendering ...@@ -1461,7 +1461,7 @@ namespace CodeImp.DoomBuilder.Rendering
int size = waypoints.Count; int size = waypoints.Count;
int seqStart = 0; int seqStart = 0;
TextLabel[] sequencelabels = new TextLabel[256]; TextLabel[] sequencelabels = new TextLabel[256];
while (i < size - 1) while (i < size)
{ {
int iNext = i + 1; int iNext = i + 1;
if (waypoints[i].AngleDoom % 256 == 0) // start of a new sequence? if (waypoints[i].AngleDoom % 256 == 0) // start of a new sequence?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment