diff --git a/src/train_cmd.cpp b/src/train_cmd.cpp index 5d02764b55..71fec8cfbe 100644 --- a/src/train_cmd.cpp +++ b/src/train_cmd.cpp @@ -349,8 +349,8 @@ int Train::GetCurveSpeedLimit() const } if (max_speed != absolute_max_speed) { - /* Apply the engine's rail type curve speed advantage, if it slowed by curves */ - const RailtypeInfo *rti = GetRailTypeInfo(this->railtype); + /* Apply the current railtype's curve speed advantage */ + const RailtypeInfo *rti = GetRailTypeInfo(GetRailType(this->tile)); max_speed += (max_speed / 2) * rti->curve_speed; if (this->tcache.cached_tilt) {