File diff r18781:e1de9a06f7cd → r18782:6453522c2154
src/roadveh_cmd.cpp
Show inline comments
 
@@ -416,7 +416,7 @@ void RoadVehicle::UpdateDeltaXY(Directio
 
 * Calculates the maximum speed of the vehicle under its current conditions.
 
 * @return Maximum speed of the vehicle.
 
 */
 
FORCEINLINE int RoadVehicle::GetCurrentMaxSpeed() const
 
inline int RoadVehicle::GetCurrentMaxSpeed() const
 
{
 
	if (_settings_game.vehicle.roadveh_acceleration_model == AM_ORIGINAL) return this->vcache.cached_max_speed;