mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-04 04:36:21 +00:00
Properly run ahead in fuse state
This commit is contained in:
parent
a790ffee79
commit
f4dddf0385
1 changed files with 3 additions and 2 deletions
|
|
@ -406,16 +406,17 @@ static void SPBSeek(mobj_t *spb, player_t *bestPlayer)
|
|||
{
|
||||
if (pathtoplayer.numnodes > 1)
|
||||
{
|
||||
// Go to next.
|
||||
curWaypoint = (waypoint_t *)pathtoplayer.array[1].nodedata;
|
||||
}
|
||||
#if 0
|
||||
else if (spb->fuse > 0 && destWaypoint->numnextwaypoints > 0)
|
||||
{
|
||||
// Run ahead.
|
||||
curWaypoint = destWaypoint->nextwaypoints[0];
|
||||
}
|
||||
#endif
|
||||
else
|
||||
{
|
||||
// Sort of wait at the player's dest waypoint.
|
||||
curWaypoint = destWaypoint;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue