wip
This commit is contained in:
@@ -117,11 +117,13 @@ void update_model(UIState *s,
|
||||
// update path
|
||||
float path;
|
||||
if (paramsMemory.getInt("no_lat_lane_change")) {
|
||||
path = LANE_CHANGE_NO_LAT_PATH_WIDTH / 20; // Release: better calc for EU users
|
||||
path = (float)LANE_CHANGE_NO_LAT_PATH_WIDTH / 20; // Release: better calc for EU users
|
||||
} else {
|
||||
path = CENTER_LANE_WIDTH / 20; // Release: better calc for EU users
|
||||
path = (float)CENTER_LANE_WIDTH / 20; // Release: better calc for EU users
|
||||
}
|
||||
|
||||
path = scene.path_width;
|
||||
|
||||
auto lead_count = model.getLeadsV3().size();
|
||||
if (lead_count > 0) {
|
||||
auto lead_one = model.getLeadsV3()[0];
|
||||
|
||||
Reference in New Issue
Block a user