Ticket #391: route.c.diff

File route.c.diff, 508 bytes (added by stressedpiper, 12 years ago)
  • route.c

     
    722722                route_info_free(this->pos);
    723723        this->pos=NULL;
    724724        this->pos=route_find_nearest_street(this->vehicleprofile, this->ms, pos);
    725         this->pos->street_direction=0;
    726725        dbg(1,"this->pos=%p\n", this->pos);
    727726        if (! this->pos)
    728727                return;
     728    this->pos->street_direction=0;
    729729        route_info_distances(this->pos, pos->pro);
    730730        route_path_update(this, 0, 1);
    731731}