@@ -216,13 +216,13 @@ static RefitList *BuildRefitList(const V
refit[num_lines].value = CALLBACK_FAILED;
refit[num_lines].engine = INVALID_ENGINE;
num_lines++;
}
} while (v->type == VEH_TRAIN && (u = u->Next()) != NULL && num_lines < max_lines);
} while ((v->type == VEH_TRAIN || v->type == VEH_ROAD) && (u = u->Next()) != NULL && num_lines < max_lines);
list->num_lines = num_lines;
list->items = refit;
return list;
Status change: