Add: Setting to uniformly slow the acceleration and braking of realistic trains
This does not affect the maximum speed.
This commit is contained in:

committed by
Jonathan G Rennison

parent
0351734729
commit
7ef8706ed2
@@ -93,7 +93,7 @@ void NormalizeTrainVehInDepot(const Train *u);
|
||||
|
||||
inline int GetTrainRealisticBrakingTargetDecelerationLimit(int acceleration_type)
|
||||
{
|
||||
return 120 + (acceleration_type * 48);
|
||||
return _settings_game.vehicle.train_acc_braking_percent * (120 + (acceleration_type * 48)) / 100;
|
||||
}
|
||||
|
||||
/** Flags for TrainCache::cached_tflags */
|
||||
|
Reference in New Issue
Block a user