mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-30 01:49:10 +00:00
(svn r22879) -Fix: Miscalculation of train curve speed limits. (monoid)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user