Codechange: Rename *Railtype* to *RailType* for consistency. (#11287)

This commit is contained in:
PeterN
2023-09-11 09:55:12 +01:00
committed by GitHub
parent a0b2f28f9c
commit acd7d3c913
25 changed files with 90 additions and 90 deletions

View File

@@ -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) {