equal
deleted
inserted
replaced
797 return NULL; |
797 return NULL; |
798 |
798 |
799 return u; |
799 return u; |
800 } |
800 } |
801 |
801 |
802 static void RoadVehArrivesAt(Vehicle *v, Station *st) |
802 static void RoadVehArrivesAt(const Vehicle* v, Station* st) |
803 { |
803 { |
804 if (v->cargo_type == CT_PASSENGERS) { |
804 if (v->cargo_type == CT_PASSENGERS) { |
805 /* Check if station was ever visited before */ |
805 /* Check if station was ever visited before */ |
806 if (!(st->had_vehicle_of_type & HVOT_BUS)) { |
806 if (!(st->had_vehicle_of_type & HVOT_BUS)) { |
807 uint32 flags; |
807 uint32 flags; |