Fix polywaypoint_t->continuous being uninitialized

I spent two hours staring at minecarts just for this shit
This commit is contained in:
GenericHeroGuy 2025-07-20 22:40:24 +02:00
parent aa39635f31
commit 6fcda4e2a6

View file

@ -2175,8 +2175,7 @@ boolean EV_DoPolyObjWaypoint(polywaypointdata_t *pwdata)
th->direction = (pwdata->flags & PWF_REVERSE) ? -1 : 1;
th->returnbehavior = pwdata->returnbehavior;
if (pwdata->flags & PWF_LOOP)
th->continuous = true;
th->continuous = !!(pwdata->flags & PWF_LOOP);
th->stophere = false;
// Find the first waypoint we need to use