convoy.h
inline void update_summary(uint8 length_of_last_vehicle)
	{
		// this correction corresponds to the correction in convoi_t::get_tile_length()
		tiles = (length + (max(CARUNITS_PER_TILE/2, length_of_last_vehicle) - length_of_last_vehicle) + CARUNITS_PER_TILE - 1) / CARUNITS_PER_TILE;
		max_sim_speed = kmh_to_speed(max_speed);
	}
// call update_summary() after all vehicles have been added.
call update_summary() after all vehicles have been added.
call update_summary () after all vehicles have been added .
inline void update_summary(uint8 length_of_last_vehicle)
	{
		tiles = (length + (max(CARUNITS_PER_TILE/2, length_of_last_vehicle) - length_of_last_vehicle) + CARUNITS_PER_TILE - 1) / CARUNITS_PER_TILE;
		max_sim_speed = kmh_to_speed(max_speed);
	}
inline void update_summary ( uint8 length_of_last_vehicle ) { tiles = ( length + ( max ( CARUNITS_PER_TILE / 2 , length_of_last_vehicle ) - length_of_last_vehicle ) + CARUNITS_PER_TILE - 1 ) / CARUNITS_PER_TILE ; max_sim_speed = kmh_to_speed ( max_speed ) ; }
call update_summary() after all vehicles have been added.
call update_summary () after all vehicles have been added .
// this correction corresponds to the correction in convoi_t::get_tile_length()