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

This commit is contained in:
terkhen 2011-09-03 11:21:56 +00:00
parent b910ae9886
commit 5dcc2cc527

View File

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