summaryrefslogtreecommitdiff
path: root/src/roadveh.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/roadveh.h')
-rw-r--r--src/roadveh.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/roadveh.h b/src/roadveh.h
index 1355bcc54..5983effba 100644
--- a/src/roadveh.h
+++ b/src/roadveh.h
@@ -255,8 +255,7 @@ protected: // These functions should not be called outside acceleration code.
*/
FORCEINLINE uint32 GetSlopeSteepness() const
{
- /* Road vehicles use by default a steeper slope than trains. */
- return 20 * 7; // 1% slope * slope steepness
+ return 20 * _settings_game.vehicle.roadveh_slope_steepness; // 1% slope * slope steepness
}
/**