roadveh_cmd.c
changeset 2630 7206058a7e82
parent 2618 9691753519ac
child 2637 722dae65c4a8
equal deleted inserted replaced
2629:78f87f273407 2630:7206058a7e82
   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;