(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:
rubidium
2011-01-26 17:35:03 +00:00
parent b4a175ba41
commit 430fda01dc
2 changed files with 9 additions and 20 deletions

View File

@@ -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.