diff --git a/src/train_cmd.cpp b/src/train_cmd.cpp index a5b0ebbc15..f7ce6b6e2e 100644 --- a/src/train_cmd.cpp +++ b/src/train_cmd.cpp @@ -664,7 +664,7 @@ int Train::GetCurveSpeedLimit() const if (max_speed != absolute_max_speed) { /* Apply the current railtype's curve speed advantage */ - const RailtypeInfo *rti = GetRailTypeInfo(GetRailType(this->tile)); + const RailtypeInfo *rti = GetRailTypeInfo(GetRailTypeByTrackBit(this->tile, this->track)); max_speed += (max_speed / 2) * rti->curve_speed; if (this->tcache.cached_tflags & TCF_TILT) {