mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-12-27 08:24:15 +03:00
woops, bus length was wrong
This commit is contained in:
parent
90a503559a
commit
b7379fcdf8
@ -373,6 +373,7 @@ impl UI {
|
||||
if let Some(c) = self.current_selection_state.color_c(id, &self.cs) {
|
||||
return c;
|
||||
}
|
||||
// TODO if it's a bus, color it differently -- but how? :\
|
||||
match self.sim_ctrl.sim.get_car_state(id) {
|
||||
CarState::Debug => ezgui::shift_color(self.cs.get(Colors::DebugCar), id.0),
|
||||
CarState::Moving => ezgui::shift_color(self.cs.get(Colors::MovingCar), id.0),
|
||||
|
@ -20,7 +20,7 @@ const MAX_CAR_LENGTH: Distance = si::Meter {
|
||||
};
|
||||
// Note this is more than MAX_CAR_LENGTH
|
||||
const BUS_LENGTH: Distance = si::Meter {
|
||||
value_unsafe: 6.5,
|
||||
value_unsafe: 12.5,
|
||||
_marker: std::marker::PhantomData,
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user