Fix accidental swap of first and last waypoint
This commit is contained in:
parent
36843cbfd6
commit
aa16bd22f9
|
@ -1670,7 +1670,7 @@ void T_PolyObjWaypoint(polywaypoint_t *th)
|
||||||
th->stophere = true;
|
th->stophere = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
waypoint = (th->direction == -1) ? P_GetFirstWaypoint(th->sequence) : P_GetLastWaypoint(th->sequence);
|
waypoint = (th->direction == -1) ? P_GetLastWaypoint(th->sequence) : P_GetFirstWaypoint(th->sequence);
|
||||||
}
|
}
|
||||||
else if (!waypoint && th->comeback) // Come back to the start
|
else if (!waypoint && th->comeback) // Come back to the start
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue