mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-23 03:12:38 +00:00
AND I forgot these checks, confound it
This commit is contained in:
parent
ee1fd72f9f
commit
54fea4d0b9
1 changed files with 3 additions and 1 deletions
|
@ -11944,6 +11944,8 @@ void A_Boss5FindWaypoint(mobj_t *actor)
|
|||
}
|
||||
else if (mapthings[i].mobj->reactiontime > 0)
|
||||
continue;
|
||||
if (!P_CheckSight(actor, mapthings[i].mobj))
|
||||
continue;
|
||||
numwaypoints++;
|
||||
}
|
||||
|
||||
|
@ -11998,7 +12000,7 @@ void A_Boss5FindWaypoint(mobj_t *actor)
|
|||
}
|
||||
else if (mapthings[i].mobj->reactiontime > 0)
|
||||
mapthings[i].mobj->reactiontime--;
|
||||
else
|
||||
else if (P_CheckSight(actor, mapthings[i].mobj))
|
||||
waypoints[numwaypoints++] = mapthings[i].mobj;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue