Codechange: Rename *Railtype* to *RailType* for consistency. (#11287)
This commit is contained in:
@@ -357,7 +357,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(GetRailType(this->tile));
|
||||
max_speed += (max_speed / 2) * rti->curve_speed;
|
||||
|
||||
if (this->tcache.cached_tilt) {
|
||||
|
Reference in New Issue
Block a user