summaryrefslogtreecommitdiff
path: root/src/elrail.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-07-29 23:42:59 +0000
committerrubidium <rubidium@openttd.org>2007-07-29 23:42:59 +0000
commit7fb3f54584fd9dd3266997cd12bd1853c18ad5bb (patch)
tree35f2cfc46313d08457c127c393370517d519fab3 /src/elrail.cpp
parentd4666b51eebaf8431a0f60e342182c57215db2ef (diff)
downloadopenttd-7fb3f54584fd9dd3266997cd12bd1853c18ad5bb.tar.xz
(svn r10733) -Codechange: change MP_STREET into MP_ROAD as we use the word "road" everywhere except in the tile type.
Diffstat (limited to 'src/elrail.cpp')
-rw-r--r--src/elrail.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/elrail.cpp b/src/elrail.cpp
index 69aa9259f..160f32150 100644
--- a/src/elrail.cpp
+++ b/src/elrail.cpp
@@ -102,7 +102,7 @@ static TrackBits GetRailTrackBitsUniversal(TileIndex t, byte *override)
return AxisToTrackBits(DiagDirToAxis(GetBridgeRampDirection(t)));
}
- case MP_STREET:
+ case MP_ROAD:
if (GetRoadTileType(t) != ROAD_TILE_CROSSING) return TRACK_BIT_NONE;
if (GetRailType(t) != RAILTYPE_ELECTRIC) return TRACK_BIT_NONE;
return GetCrossingRailBits(t);
@@ -393,7 +393,7 @@ void DrawCatenary(const TileInfo *ti)
break;
case MP_TUNNELBRIDGE:
- case MP_STREET:
+ case MP_ROAD:
case MP_STATION:
break;