(svn r26546) -Codechange: Make order wait_time, travel_time and max_speed private
This commit is contained in:
@@ -460,7 +460,7 @@ inline int RoadVehicle::GetCurrentMaxSpeed() const
|
||||
}
|
||||
}
|
||||
|
||||
return min(max_speed, this->current_order.max_speed * 2);
|
||||
return min(max_speed, this->current_order.GetMaxSpeed() * 2);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user