mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-16 00:12:51 +00:00
(svn r22879) -Fix: Miscalculation of train curve speed limits. (monoid)
This commit is contained in:
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…
Reference in New Issue
Block a user