summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/train_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/train_cmd.cpp b/src/train_cmd.cpp
index 4bbe26064..55465d23d 100644
--- a/src/train_cmd.cpp
+++ b/src/train_cmd.cpp
@@ -355,7 +355,7 @@ int Train::GetCurveSpeedLimit() const
if (lastpos != -1) {
numcurve++;
sum += pos - lastpos;
- if (pos - lastpos == 1) {
+ if (pos - lastpos == 1 && max_speed > 88) {
max_speed = 88;
}
}