src/settings_gui.cpp
changeset 6585 7da94b26498a
parent 6581 7a557736ab52
child 6615 96d30d65ed35
equal deleted inserted replaced
6584:85b9e0da5754 6585:7da94b26498a
    80 static inline bool RoadVehiclesAreBuilt()
    80 static inline bool RoadVehiclesAreBuilt()
    81 {
    81 {
    82 	const Vehicle* v;
    82 	const Vehicle* v;
    83 
    83 
    84 	FOR_ALL_VEHICLES(v) {
    84 	FOR_ALL_VEHICLES(v) {
    85 		if (v->type == VEH_Road) return true;
    85 		if (v->type == VEH_ROAD) return true;
    86 	}
    86 	}
    87 	return false;
    87 	return false;
    88 }
    88 }
    89 
    89 
    90 
    90