(svn r21915) -Codechange: rename RoadVehicleAccelerate to RoadVehicle::UpdateSpeed (to match the naming used by Trains), and make use of the algorithm implemented in GroundVehicle
This commit is contained in:
@@ -120,6 +120,7 @@ struct RoadVehicle : public GroundVehicle<RoadVehicle, VEH_ROAD> {
|
||||
bool IsBus() const;
|
||||
|
||||
int GetCurrentMaxSpeed() const;
|
||||
int UpdateSpeed();
|
||||
|
||||
protected: // These functions should not be called outside acceleration code.
|
||||
|
||||
|
Reference in New Issue
Block a user