mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-05-04 16:02:48 +00:00
fix an inconsistency I introduced between counting the waypoints and finding them again
This commit is contained in:
parent
4536569cfb
commit
2d650bf484
1 changed files with 6 additions and 3 deletions
|
|
@ -12042,12 +12042,15 @@ void A_Boss5FindWaypoint(mobj_t *actor)
|
||||||
{
|
{
|
||||||
if (avoidcenter)
|
if (avoidcenter)
|
||||||
continue;
|
continue;
|
||||||
waypoints[numwaypoints++] = mapthings[i].mobj;
|
|
||||||
}
|
}
|
||||||
else if (mapthings[i].mobj->reactiontime > 0)
|
else if (mapthings[i].mobj->reactiontime > 0)
|
||||||
|
{
|
||||||
mapthings[i].mobj->reactiontime--;
|
mapthings[i].mobj->reactiontime--;
|
||||||
else if (P_CheckSight(actor, mapthings[i].mobj))
|
continue;
|
||||||
waypoints[numwaypoints++] = mapthings[i].mobj;
|
}
|
||||||
|
if (!P_CheckSight(actor, mapthings[i].mobj))
|
||||||
|
continue;
|
||||||
|
waypoints[numwaypoints++] = mapthings[i].mobj;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (actor->extravalue2 > 1)
|
if (actor->extravalue2 > 1)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue