mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-12-25 07:25:47 +03:00
temporarily treat u-turn restrictions as left turns, for #27
This commit is contained in:
parent
10a8466d5d
commit
4634ae094b
@ -233,6 +233,11 @@ impl Lane {
|
||||
"slight_left" | "slight left" | "merge_to_left" => {
|
||||
vec![TurnType::Straight, TurnType::LaneChangeLeft, TurnType::Left]
|
||||
}
|
||||
"reverse" => {
|
||||
// TODO We need TurnType::UTurn. Until then, u-turns usually show up as
|
||||
// left turns.
|
||||
vec![TurnType::Left]
|
||||
}
|
||||
_ => panic!("What's turn restriction {}?", s),
|
||||
})
|
||||
.collect(),
|
||||
|
Loading…
Reference in New Issue
Block a user