mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-03-13 06:36:56 +00:00
Accidentally removed a bit of code I shouldn't have removed
This commit is contained in:
parent
ae72a365f3
commit
08ae2c926e
1 changed files with 7 additions and 0 deletions
|
|
@ -8771,6 +8771,13 @@ void A_SPBChase(mobj_t *actor)
|
|||
bestwaypoint, player->nextwaypoint, useshortcuts, huntbackwards);
|
||||
}
|
||||
|
||||
if (nextwaypoint == NULL && lastwaypoint != NULL)
|
||||
{
|
||||
// Restore to the last nextwaypoint
|
||||
nextwaypoint = lastwaypoint;
|
||||
}
|
||||
|
||||
|
||||
if (nextwaypoint != NULL)
|
||||
{
|
||||
const fixed_t xywaypointdist = P_AproxDistance(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue