This commit is contained in:
Your Name
2024-05-18 08:42:15 -05:00
parent d6fff3fa1b
commit 037b08dd0d
7 changed files with 43 additions and 205 deletions

View File

@@ -116,7 +116,7 @@ void update_model(UIState *s,
// update path
float path;
if (paramsMemory.getInt("no_lat_lane_change")) {
if (paramsMemory.getBool("no_lat_lane_change")) {
path = (float)LANE_CHANGE_NO_LAT_PATH_WIDTH / 20; // Release: better calc for EU users
} else {
path = (float)CENTER_LANE_WIDTH / 20; // Release: better calc for EU users