@@@ deity.cpp | ROBUSTNESS (port-only): LineFollower::Attach only positions the follower when SetLine sees a new line; if the racing line picked at init (random stream 4) equals the snapped one, it stays unpositioned and the AI driver's first reset reads a null segment (aicar fn_80195D80). Position it as Attach would (SetPosition(p, 0, 0)) when it is still unpositioned; no change when retail's path positioned it
<<<
    c->line->Attach((CenterLine*)fn_80156A40()->LineFor(c->index), &p, 0);
    LineFollower* l = c->line;
===
    c->line->Attach((CenterLine*)fn_80156A40()->LineFor(c->index), &p, 0);
    if (!c->line->il.seg) {  // port: see patches/swap-detect
        CenterLine* rl = (CenterLine*)fn_80156A40()->LineFor(c->index);
        // Before the grid placement the car's world position can still be the allocator fill (no segment is
        // near it): start at the line's first point; the race start (fn_801B18B8) positions it properly.
        c->line->SetPosition(&p, 0, (k->pos[0] == k->pos[0] && __builtin_fabsf(k->pos[0]) < 1e6f) ? 0 : (rl ? rl->points : 0));
        if (!c->line->il.seg && rl) {
            c->line->SetPosition(&p, 0, rl->points);
        }
    }
    LineFollower* l = c->line;
>>>
