Fix polywaypoint_t->continuous being uninitialized
I spent two hours staring at minecarts just for this shit
This commit is contained in:
parent
aa39635f31
commit
6fcda4e2a6
1 changed files with 1 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue