mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +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)
|
||||
continue;
|
||||
waypoints[numwaypoints++] = mapthings[i].mobj;
|
||||
}
|
||||
else if (mapthings[i].mobj->reactiontime > 0)
|
||||
{
|
||||
mapthings[i].mobj->reactiontime--;
|
||||
else if (P_CheckSight(actor, mapthings[i].mobj))
|
||||
waypoints[numwaypoints++] = mapthings[i].mobj;
|
||||
continue;
|
||||
}
|
||||
if (!P_CheckSight(actor, mapthings[i].mobj))
|
||||
continue;
|
||||
waypoints[numwaypoints++] = mapthings[i].mobj;
|
||||
}
|
||||
|
||||
if (actor->extravalue2 > 1)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue