(svn r22879) -Fix: Miscalculation of train curve speed limits. (monoid)

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
terkhen 13 years ago
parent b910ae9886
commit 5dcc2cc527

@ -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;
}
}

Loading…
Cancel
Save