Allow drive-through road stops to be one-way
This commit is contained in:
@@ -171,12 +171,7 @@ struct RoadVehicle FINAL : public GroundVehicle<RoadVehicle, VEH_ROAD> {
|
||||
return RV_OVERTAKE_TIMEOUT + (this->gcache.cached_total_length / 2) - (VEHICLE_LENGTH / 2);
|
||||
}
|
||||
|
||||
inline void SetRoadVehicleOvertaking(byte overtaking)
|
||||
{
|
||||
for (RoadVehicle *u = this; u != nullptr; u = u->Next()) {
|
||||
u->overtaking = overtaking;
|
||||
}
|
||||
}
|
||||
void SetRoadVehicleOvertaking(byte overtaking);
|
||||
|
||||
protected: // These functions should not be called outside acceleration code.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user